Well, as is indicated in the error message, it is probably oracle9ias. I want to know is there any document that compares sendRedirect() and RequestDispatcher and concluded that the later is much faster?
Anyway, to the orginal question, I think it is likely that, in the jsp page itself, you have <jsp:include page="xxx"/> This may cause problem when you then try to use sentRedirect(). I don't think RequestDispatcher will help here too much. ________________________________ Do you need a Bug Tracking System? Try Bugzero: www.websina.com/bugzero/ ----- Original Message ----- From: "Vikramjit Singh" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, August 21, 2002 8:49 PM Subject: Re: unable to dispatch to requested page? > > -----Original Message----- > > From: Ali Chadorbaf [mailto:[EMAIL PROTECTED]] > > Sent: Wednesday, August 21, 2002 2:37 PM > > To: [EMAIL PROTECTED] > > Subject: unable to dispatch to requested page? > > > > > > Hi, > > In my jsp application i usually used sendRedirect() to > > forward from one jsp > > page to another(Some jsp page has database intraction > > involved). Some times > > receives following error message( I copied and pasted it from > > log file) and App > > server locks. And we must reboot the server and reload the > > Appserver to > > coutinue. Any idea would really appreciated. > > > Just a few questions: > Which app server are you using? > Are you closing the connections, resultset, statements when doing database > transactions? > > Another alternative is why dont you use RequestDispatcher, it is much faster > than response.sendRedirect(); > > > > > > > 8/21/02 9:30 AM defaultWebApp: JspServlet: unable to dispatch > > to requested > > page: com.evermind.server.http.HttpIOException: Connection > > reset by peer: > > socket write error > > at > > com.evermind.server.http.EvermindHttpServletResponse.commit(Ev > ermindHttpServletResponse.java:673) > > > > at > > com.evermind.server.http.EvermindHttpServletResponse.commitAnd > > IgnoreWrites(EvermindHttpServletResponse.java:212) > > > > at > > com.evermind.server.http.EvermindHttpServletResponse.sendRedir > > ect(EvermindHttpServletResponse.java:1347) > > > > at > > _touchtest1._site1._StartWorkServlet._jspService(_StartWorkSer > > vlet.java:115) > > > > at > > com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage > > .java:56) > > at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:180) > > at > > oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:352) > > at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:303) > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:336) > > at > > com.evermind.server.http.ServletRequestDispatcher.invoke(Servl > > etRequestDispatcher.java:691) > > > > at > > com.evermind.server.http.ServletRequestDispatcher.forwardInter > > nal(ServletRequestDispatcher.java:276) > > > > at > > com.evermind.server.http.HttpRequestHandler.processRequest(Htt > > pRequestHandler.java:737) > > > > at > > com.evermind.server.http.HttpRequestHandler.run(HttpRequestHan > > dler.java:247) > > > > at com.evermind.util.ThreadPoolThread.run(ThreadPoolThread.java:64) > > > > > > > > __________________________________________________ > > Do You Yahoo!? > > HotJobs - Search Thousands of New Jobs > > http://www.hotjobs.com > > > > ______________________________________________________________ > > _____________ > > To unsubscribe, send email to [EMAIL PROTECTED] and > > include in the body > > of the message "signoff SERVLET-INTEREST". > > > > Archives: http://archives.java.sun.com/archives/servlet-interest.html > > Resources: > > http://java.sun.com/products/servlet/external-resources.html > > LISTSERV Help: http://www.lsoft.com/manuals/user/user.html > > > > ___________________________________________________________________________ > To unsubscribe, send email to [EMAIL PROTECTED] and include in the body > of the message "signoff SERVLET-INTEREST". > > Archives: http://archives.java.sun.com/archives/servlet-interest.html > Resources: http://java.sun.com/products/servlet/external-resources.html > LISTSERV Help: http://www.lsoft.com/manuals/user/user.html ___________________________________________________________________________ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html