jsp...

<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>

1.    <base target="url"/>

<!-- 让超链接后的页面在页面的"url"部分显示 -->

2.     <jsp:useBean id="" class="" scope=""/>

3.     <jsp:setProperty property="" name="" value="<%=%>"/>

4.     <jsp:include page="b.jsp" flush="true"/>

5.     <%@ include file="b.jsp" %>

6.    <button type="button" class="page-btn" name="return" onclick="javascript:location.href='newsDetailList.jsp'">返回</button>

7.  先设置form 表单的属性:文件类型

<form name ="dataFrm" id="dataFrm" action="doAdd.jsp" method="post" enctype="multipart/form-data">

猜你喜欢

转载自4636.iteye.com/blog/2323834
今日推荐