WebSphere部署项目后正常启动,但用代特殊字符的URL访问时会抛出如下错误,在tomcat下无异常。高分求解 80
我的目的是在一个fliter中拦截非法字符,防止xss入侵,但是websphere一直报错而不是直接跳转,求解[14-1-179:27:15:796GMT-12:00]0...
我的目的是在一个fliter中拦截非法字符,防止xss入侵,但是websphere一直报错而不是直接跳转,求解
[14-1-17 9:27:15:796 GMT-12:00] 0000001e servlet I com.ibm.ws.webcontainer.servlet.ServletWrapper init SRVE0242I: [tvetb2c] [/tibetair] [/pages/frontpages/reservation/waitflight.jsp]: 初始化成功。[14-1-17 9:27:15:796 GMT-12:00] 0000001e webapp E com.ibm.ws.webcontainer.webapp.WebApp logServletError SRVE0293E: [Servlet 错误]-[/pages/frontpages/reservation/waitflight.jsp]: java.lang.IllegalArgumentException at com.ibm.wsspi.webcontainer.util.RequestUtils.parseName(RequestUtils.java:245) at com.ibm.wsspi.webcontainer.util.RequestUtils.parseQueryString(RequestUtils.java:105) at com.ibm.ws.webcontainer.srt.SRTServletRequest.parseQueryStringList(SRTServletRequest.java:1631) at com.ibm.ws.webcontainer.srt.SRTServletRequest.parseParameters(SRTServletRequest.java:1610) at com.ibm.ws.webcontainer.srt.SRTServletRequest.getParameterMap(SRTServletRequest.java:2079) at org.apache.struts2.dispatcher.Dispatcher.createContextMap(Dispatcher.java:611)
at org.apache.struts2.dispatcher.ng.PrepareOperations.createActionContext(PrepareOperations.java:78)
at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:86)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:188)
后面还有,字数限制贴不上来,图片又看不清。 展开
[14-1-17 9:27:15:796 GMT-12:00] 0000001e servlet I com.ibm.ws.webcontainer.servlet.ServletWrapper init SRVE0242I: [tvetb2c] [/tibetair] [/pages/frontpages/reservation/waitflight.jsp]: 初始化成功。[14-1-17 9:27:15:796 GMT-12:00] 0000001e webapp E com.ibm.ws.webcontainer.webapp.WebApp logServletError SRVE0293E: [Servlet 错误]-[/pages/frontpages/reservation/waitflight.jsp]: java.lang.IllegalArgumentException at com.ibm.wsspi.webcontainer.util.RequestUtils.parseName(RequestUtils.java:245) at com.ibm.wsspi.webcontainer.util.RequestUtils.parseQueryString(RequestUtils.java:105) at com.ibm.ws.webcontainer.srt.SRTServletRequest.parseQueryStringList(SRTServletRequest.java:1631) at com.ibm.ws.webcontainer.srt.SRTServletRequest.parseParameters(SRTServletRequest.java:1610) at com.ibm.ws.webcontainer.srt.SRTServletRequest.getParameterMap(SRTServletRequest.java:2079) at org.apache.struts2.dispatcher.Dispatcher.createContextMap(Dispatcher.java:611)
at org.apache.struts2.dispatcher.ng.PrepareOperations.createActionContext(PrepareOperations.java:78)
at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:86)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:188)
后面还有,字数限制贴不上来,图片又看不清。 展开
3个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询