摘要: JSTL Tags Using the Core XML tags Here are the target and property values from the XML file First the target names... : depends= Then property names and values... 阅读全文
posted @ 2009-01-16 16:12 昕友软件开发 阅读(268) 评论(0) 推荐(0) 编辑
摘要: Jsp action pick the best one based on the Accept-Language header. --%> : checked> checked>... 阅读全文
posted @ 2009-01-16 16:11 昕友软件开发 阅读(365) 评论(0) 推荐(0) 编辑
摘要: JDBC连sql server 2005 1、下载sqljdbc_1.2.2828.100_chs 在http://www.microsoft.com/downloads/details.aspx?familyid=C47053EB-3B64-4794-950D-81E1EC91C1BA&displaylang=zh-cn 2、将sqljdbc.jar放入D:"Tomcat"common"... 阅读全文
posted @ 2009-01-16 16:07 昕友软件开发 阅读(399) 评论(0) 推荐(0) 编辑
摘要: Choose Accessing a Scoped Value Hello Esteemed Visitor input_jstl User Info Entry Form Name: ... 阅读全文
posted @ 2009-01-16 16:06 昕友软件开发 阅读(859) 评论(1) 推荐(0) 编辑
摘要: 设置过期 30 编码方式 HttpSession session = request.getSession( ); session.setMaxInactiveInterval(20 * 60);//20分钟后过期 跟踪 View Session JSP Session Info From A JSP The sess... 阅读全文
posted @ 2009-01-16 16:02 昕友软件开发 阅读(190) 评论(0) 推荐(0) 编辑
摘要: Problem You want to use a JSP to set & read a cookie on a client. Solution Wrap a JavaBean around the servlet API for creating cookies. Then use the bean in the JSP with the jsp:useBean standard actio... 阅读全文
posted @ 2009-01-16 15:59 昕友软件开发 阅读(430) 评论(0) 推荐(0) 编辑
摘要: Problem POST request. Solution Use the ServletRequest.getParameter(String name), getParameterMap( ), getParameterNames( ), or getParameterValues(String name) methods in the servlet's doPost method Cod... 阅读全文
posted @ 2009-01-16 14:38 昕友软件开发 阅读(1014) 评论(0) 推荐(0) 编辑
摘要: 1、 Handles a Request Problem 动态在请求时包含一个存在的servlet. Solution Use the javax.servlet.RequestDispatcher.include(request,response)method in the doGet( ) method of the servlet Code: import java... 阅读全文
posted @ 2009-01-16 14:35 昕友软件开发 阅读(415) 评论(0) 推荐(0) 编辑
欢迎访问我的开源项目:xyIM企业即时通讯