摘要:
示例://获取username信息String username=request.getParameter("username"); //转发与重定向 if(username.equals("admin")){ //提示用户已存在,不能注册 request.setAttribute("message 阅读全文
posted @ 2016-10-11 16:05
wuyongwork
阅读(23199)
评论(0)
推荐(5)
摘要:
application在整个WEB项目中共享使用数据。 常用方法: getAttribute(); setAttribute();示列: <% Object count=application.getAttribute("count"); if(count==null){ //application 阅读全文
posted @ 2016-10-11 15:43
wuyongwork
阅读(3071)
评论(0)
推荐(0)
摘要:
问题描述: 在webroot中有个index.jsp 在index.jsp中写个表单。 现在在webroot中有个sub文件夹,sub文件夹中有个submit.jsp想得到index.jsp表单的数据 index.jsp < form action="????这边要怎么写才才能指向submit.js 阅读全文
posted @ 2016-10-11 13:47
wuyongwork
阅读(1920)
评论(0)
推荐(0)
摘要:
原文链接http://316325524.blog.163.com/blog/static/6652052320111118111620897/ "base href " 今天在写一个JSP网页的时候,href不能用了,所有href鼠标放上去前面现实的都是“http:///”,竟然有三个“/”,而且 阅读全文
posted @ 2016-10-11 09:52
wuyongwork
阅读(2134)
评论(0)
推荐(0)
摘要:
系统变量配置:(解决tomcat启动 startup.bat的时候一闪而过) JAVA_HOME C:\Program Files (x86)\Java\jdk1.7.0_25 CLASSPATH .;%JAVA_HOME%\lib;%JAVA_HOME%\lib\tools.jar Path 加入 阅读全文
posted @ 2016-10-11 09:19
wuyongwork
阅读(1285)
评论(0)
推荐(0)

浙公网安备 33010602011771号