The key is the "Response has already been committed." Usually this
happens when you try
to do a response.forward() after you've already obtained a reference to
the PrintWriter object, a la:

  PrintWriter out = response.getWriter();
  RequestDispatcher rd =
        getServletContext().getRequestDispatcher("//some-url");
  rd.forward();
 
--Ola

        -----Original Message----- 
        From: james chen 
        Sent: Tue 11/20/2001 1:12 PM 
        To: [EMAIL PROTECTED] 
        Cc: 
        Subject: Response has already been committed
        
        

        Hi:
        
        Could someone please help me with the following
        question..
        
        
        I have just installed Apache SOAP and Tomcat on my
        win98. As I was trying to deploy a web service by
        going to http://localhost:8080/soap/admin/  and click
        on the deploy button , I keep on getting this error
        message shown below:
        
        Error: 500
        Location: /soap/admin/deploy.jsp
        Internal Servlet Error:
         java.lang.IllegalStateException: Response has already
        been committed
                at
        
org.apache.tomcat.core.HttpServletResponseFacade.sendError(HttpServletRe
sponseFacade.java:157)
                at
        
org.apache.jasper.runtime.JspServlet.unknownException(JspServlet.java:29
9)
                at
        
org.apache.jasper.runtime.JspServlet.service(JspServlet.java:377)
                at
        javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
                at
        
org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:
503)
                at
        
org.apache.tomcat.core.ContextManager.service(ContextManager.java:559)
                at
        
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(H
ttpConnectionHandler.java:160)
                at
        
org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java
:338)
                at java.lang.Thread.run(Thread.java:484)
        
        
        
        why....
        
        
        
        thank
        james c
        
        
        
-----------------------------------------------------------------
        < 每天都 Yahoo!奇摩 >  www.yahoo.com.tw
        

<<winmail.dat>>

Reply via email to