You should be get a 400 'Bad Request' when RequestProcess.processMapping() cannot find an action mapping for the requested path:
<snip> response.sendError(HttpServletResponse.SC_BAD_REQUEST, // <=== Line 684 getInternal().getMessage ("processInvalid", path)); </snip> It appears that the response is being written to after it has already been committed which would cause the IllegalStateException. I've seen this behavior using the SSL extension module. robert > -----Original Message----- > From: Adam Hardy [mailto:[EMAIL PROTECTED] > Sent: Sunday, August 31, 2003 4:01 PM > To: Struts Users Mailing List > Subject: Getting IllegalStateException when URL is wrong & struts can't > find a mapping > > > When I type in the URL myself and make a spelling mistake, shouldn't I > get a 404 error message saying this resource isn't available? > > At the moment I am getting the following 500 error > > java.lang.IllegalStateException > at > org.apache.coyote.tomcat4.CoyoteResponseFacade.sendError(CoyoteRes > ponseFacade.java:312) > at > org.apache.struts.action.RequestProcessor.processMapping(RequestPr > ocessor.java:684) > > > even though I am getting the appropriate logging: > > Aug 31, 2003 9:57:11 PM org.apache.struts.action.RequestProcessor > processMapping > SEVERE: Invalid path /private/start was requested > > > > Adam > > -- > struts 1.1 + tomcat 4.1.27 + java 1.4.2 > Linux 2.4.20 RH9 > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]