(1)是说jsp开发中经常遇到的异常是由于变量未经初始化就使用而造成的空指针异常,在变量声明的同时就初始化它可以有效避免这类问题(这是谁写的?绝对了点)
(2)告诉你由于服务端应用异常而导致错误,返回状态码500
(3)告诉你具体的出错位置
(4)告诉你这个错误就是(1)
(2)告诉你由于服务端应用异常而导致错误,返回状态码500
(3)告诉你具体的出错位置
(4)告诉你这个错误就是(1)
解决方案 »
- JAVA web项目关于struts和spring框架的问题
- 多个input提交的问题
- 急求高手解决JSP页面打不开的问题?
- Struts2中如何在action赋值,在页面中取到?
- properties文件里显示jdbc和scott拼写不正确,求解
- 上网载了BBS源码,但是在my eclipse部署tomcat一直打不开
- 我想把查询到的记录集生成Excel表格,请问在JSP里该怎么做????
- 加入windows的服务后的奇怪问题.
- tomcat4.1 用excle格式输出结果集,但是中文问题怎么解决,TKS
- intellij idea的spring mvc建立的默认工程,运行报错,请大侠帮忙。
- 防盗链原理
- 关于使用jxl插件向excel里面插图片的问题
String s = (String)session.getAttribute("test");//判断
if(s != null){
//你的逻辑
}2、500这样的数字叫做状态码,是HTTP协议中对于特定情况的编码,如404代表请求的页面不存在这种情况。
yxs_jsp.java是yxs.jsp编译生成的Servlet源代码,可以在Tomcat安装目录下的work目录中找到。
200 OK Request was handled without error
301 Moved permanently Content has moved to hostname in the Location header
400 Bad request request could not be understood by the server
403 Forbidden Server lacks permission to access the requested file
404 Not found Server could not find the requested file
501 Not implemented Server does not support the request method
505 HTTP version not supported Server does not support version in request