who can give a hand?
javax.servlet.ServletException: Input/output error: java.net.SocketException: Connection reset by peer.at weblogic.servlet.jsp.PageContextImpl.handlePageException(Ljava/lang/T
hrowable;)V(PageContextImpl.java:323)
at jsp_servlet._report.__main._jspService(Ljavax/servlet/http/HttpServle
tRequest;Ljavax/servlet/http/HttpServletResponse;)V(__main.java:213)
at weblogic.servlet.jsp.JspBase.service(Ljavax/servlet/ServletRequest;Lj
avax/servlet/ServletResponse;)V(JspBase.java:33)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run
()Ljava/lang/Object;(ServletStubImpl.java:1072)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljavax/servle
t/ServletRequest;Ljavax/servlet/ServletResponse;Lweblogic/servlet/internal/Filte
rChainImpl;)V(ServletStubImpl.java:465)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljavax/servle
t/ServletRequest;Ljavax/servlet/ServletResponse;)V(ServletStubImpl.java:348)
at weblogic.servlet.internal.RequestDispatcherImpl.forward(Ljavax/servle
t/ServletRequest;Ljavax/servlet/ServletResponse;)V(RequestDispatcherImpl.java:32
8)
at org.apache.struts.action.RequestProcessor.doForward(Ljava/lang/String
;Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;
)V(RequestProcessor.java:1062)
at org.apache.struts.action.RequestProcessor.processForwardConfig(Ljavax
/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;Lorg/ap
ache/struts/config/ForwardConfig;)V(RequestProcessor.java:386)
at org.apache.struts.action.RequestProcessor.process(Ljavax/servlet/http
/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V(RequestProcessor.
java:229)
at org.apache.struts.action.ActionServlet.process(Ljavax/servlet/http/Ht
tpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V(ActionServlet.java:1
196)
at org.apache.struts.action.ActionServlet.doGet(Ljavax/servlet/http/Http
ServletRequest;Ljavax/servlet/http/HttpServletResponse;)V(ActionServlet.java:414
)
at javax.servlet.http.HttpServlet.service(Ljavax/servlet/http/HttpServle
tRequest;Ljavax/servlet/http/HttpServletResponse;)V(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(Ljavax/servlet/ServletRequest;
Ljavax/servlet/ServletResponse;)V(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run
()Ljava/lang/Object;(ServletStubImpl.java:1072)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljavax/servle
t/ServletRequest;Ljavax/servlet/ServletResponse;Lweblogic/servlet/internal/Filte
rChainImpl;)V(ServletStubImpl.java:465)
at weblogic.servlet.internal.TailFilter.doFilter(Ljavax/servlet/ServletR
equest;Ljavax/servlet/ServletResponse;Ljavax/servlet/FilterChain;)V(TailFilter.j
ava:28)
at weblogic.servlet.internal.FilterChainImpl.doFilter(Ljavax/servlet/Ser
vletRequest;Ljavax/servlet/ServletResponse;)V(FilterChainImpl.java:27)
at com.ist.common.SetCharacterEncodingFilter.doFilter(Ljavax/servlet/Ser
vletRequest;Ljavax/servlet/ServletResponse;Ljavax/servlet/FilterChain;)V(SetChar
acterEncodingFilter.java:158)
at weblogic.servlet.internal.FilterChainImpl.doFilter(Ljavax/servlet/Ser
vletRequest;Ljavax/servlet/ServletResponse;)V(FilterChainImpl.java:27)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio
n.run()Ljava/lang/Object;(WebAppServletContext.java:6987)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Lweblogic/se
curity/subject/AbstractSubject;Ljava/security/PrivilegedAction;)Ljava/lang/Objec
t;(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(Lweblogic/security/ac
l/internal/AuthenticatedSubject;Lweblogic/security/acl/internal/AuthenticatedSub
ject;Ljava/security/PrivilegedAction;)Ljava/lang/Object;(SecurityManager.java:12
1)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(Lweblogi
c/servlet/internal/ServletRequestImpl;Lweblogic/servlet/internal/ServletResponse
Impl;)V(WebAppServletContext.java:3892)
at weblogic.servlet.internal.ServletRequestImpl.execute(Lweblogic/kernel
/ExecuteThread;)V(ServletRequestImpl.java:2766)
at weblogic.kernel.ExecuteThread.execute(Lweblogic/kernel/ExecuteRequest
;)V(ExecuteThread.java:224)
at weblogic.kernel.ExecuteThread.run()V(ExecuteThread.java:183)
at java.lang.Thread.startThreadFromVM(Ljava/lang/Thread;)V(Unknown Sourc
e)
java weblogic --------------------编程问答-------------------- 没人气啊,帮你顶了! --------------------编程问答-------------------- service方法引出的PageException,在对应的jsp中仔细检查 --------------------编程问答-------------------- 连接被重置。你把问题说清楚一点,是什么样的情况导致的异常。 --------------------编程问答-------------------- javax.servlet.ServletException: Input/output error: java.net.SocketException: Connection reset by peer.
我可以给你一个方法去查找哪里出错了,笨而简单,断点我个人认为不好用。
我通常都会在我写的一个方法的开头写上system.out.println(fangfaming+"zhixingle");
这样你就可以知道这个方法运行了,可以查到他的流程,哪儿断了,就去哪儿找毛病。别忘了给分哟。楼主好心运 --------------------编程问答-------------------- 你重定向那句话后面加“return;”
补充:Java , Web 开发