- 博客(3)
- 收藏
- 关注
转载 The method getContextPath() from the type HttpServletRequest refers to the missing type
今天我将一个项目从另一台机器拷到这台机器,又重新安装了JDK1.6(这台机器上原先的JDK是1.5的),并配置好了JDK环境后,我将整个项目部署好之后,在每个JSP页面中的"request.getContextPath()"下方出现了红色的波浪线,提示的错误信息是“The method getContextPath() from the type HttpServletRequest refe
2017-04-08 15:15:06
328
转载 jsp值传到后台Struts2中的action三种方法
jsp值传到后台Struts2中的action三种方法 Action接收表单传递过来的参数有3种方法: 如,登陆表单login.jsp: 1 form action="login" method="post" name="form1"> 用户名:s:textfield name="username"/>br/> 密 码:s:password name="password"
2017-03-27 15:11:48
270
转载 java基本类型默认值和取值范围
默认值 存储需求(字节) 取值范围 示例 byte 0 1 -2^7——2^7-1 byte b=10; char '\u0000' 2 0-2^16-1 char c='a'; short 0 2 -2^15——2^15-1
2017-03-27 10:55:05
408
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅