随笔分类 -  JSP

JSP页面
摘要:Action:private String keyWord = null; private Vector news = new Vector(); public void list() throws ServletException, IOException{ keyWord = getParameter("keys"); String fileName = null; String path = Config.getProperty(Keys.CONFIG_APPLICATION_PATH) + "/" + Config.getProperty(Key 阅读全文

posted @ 2011-06-15 10:31 shosky 阅读(306) 评论(0) 推荐(0)

摘要:在 Tomcat 5.0.x 以上的版本中,Tomcat 支持了 JSP 2.0 的规格,同时也支持了部分 J2EE 1.4 的规格,在 J2EE 1.4 的规格中,有关 JSP 的部份,有一个 <jsp-config> 的 XML Tag,这个 XML 区块用来定义与 JSP 相关的特殊属性,包含采用的 taglib 与 以下说明的 <jsp-property-group> ,而解决 include 档中文问题的方法就定义在 <jsp-roperty-group> 中。在web.xml中加入下列代码: <jsp-config> <jsp- 阅读全文

posted @ 2011-06-10 19:07 shosky 阅读(2646) 评论(0) 推荐(1)

导航