11 2008 档案
jsp:include page="" 和 include file="" 的区别
摘要:jsp:include page="" 和 include file="" 的区别 下面用三个实验,更清淅的理解 和 的区别。 包含被 include 文件的输出 包含被 include 文件的代码
阅读全文
forward,sendRedirect 区别
摘要:1.RequestDispatcher.forward() 是在服务器端起作用,当使用forward()时,Servlet engine传递HTTP请求从当前的Servlet or JSP到另外一个Servlet,JSP 或普通HTML文件,也即你的form提交至a.jsp,在a.jsp用到了forward()重定向至b.jsp,此时form提交的所有信息在 b.jsp都可以获得,参数自动传递....
阅读全文
getAttribute, getParamter区别 转帖
摘要:getAttribute和getParameter的区别 2007-04-09 15:21 .getAttribute是取得jsp中 用setAttribute設定的attribute 2.parameter得到的是string;attribute得到的是object 3.reques...
阅读全文
索引器
摘要:class myListBox { protected ArrayList data = new ArrayList(); public object this[int idx] { get ...
阅读全文
浙公网安备 33010602011771号