WAS6 升级到WAS7后,servlet 里的exception处理发生了异常
public void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException , IOException{
try {
DoTask(request, response);
}
catch (Exception e){
Log.println(e);
response.sendRedirect("GeneralErrorPage.jsp");
}
}
代码挺简单的,不过升级后,DoTask方法里如果有什么异常的话,就不会转到GeneralErrorPage.jsp了,而是出现了服务器内部错误的页面,应该是服务器超时了
请问这个问题大家有没有遇到过,怎么解决?? --------------------编程问答-------------------- 是什么异常呢? 是不是Log本身的调用出现了异常 --------------------编程问答-------------------- IT500强企业 职位推荐
Title: IT Specialist - Onsite Support
Location: Beijing
Job Description:
- Onsite support or remote support for software product.
Candidate Requirements:
-3+ years implementation/administration/product support experience of at least one of the following products:
1) WebSphere product, WAS certification is pre-request.
2) Lotus product, Lotus certification is pre-request.
-Good communication skills, project management experience is a plus.
-Bachelor's Degree
-English: Fluent
Please email me with your recent Chinese and English CV if you have interest and need more details.
Karen
E-mail:karenlin@haxinternational.com
MSN:karen.shima@hotmail.com
Tel:010-58690411-823
补充:企业软件 , WebSphere