>Would you by any chance be forwarding to a static resource in the case >where this fails, and a dynamic resource (or JSP page) when it succeeds? >If so, then the default servlet would indeed be an issue.
If the request successful, I am forwarding to a jsp page in my Tiles Request Processor. However, I forward to an custom html 500 page if an exception occurs. The path in my global-exceptions in struts-config.xml (see below) forwards to this page. <global-exceptions> <exception key="" scope="request" type="java.lang.Exception" path="/locator500.htm" handler="com.ams.transactionlocator.uboc.struts.DefaultExceptionHandler"/> </global-exceptions> Any ideas? Brian Husted AMS, Outsourced Solutions Group 410-897-1602 (phone) 410-897-1163 (fax) www.ams.com This email message is intended only for use by the recipient(s), and may contain confidential and proprietary information of AMS, Inc. Any unauthorized use, disclosure, or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of this email message. "Craig R. McClanahan" To: Struts Users Mailing List <[EMAIL PROTECTED]> <[EMAIL PROTECTED] cc: org> Subject: Re: Random 405 Http Error 07/29/2003 01:24 PM Please respond to "Struts Users Mailing List" Would you by any chance be forwarding to a static resource in the case where this fails, and a dynamic resource (or JSP page) when it succeeds? If so, then the default servlet would indeed be an issue. Craig On Tue, 29 Jul 2003, Brian Husted wrote: > Date: Tue, 29 Jul 2003 12:53:21 -0400 > From: Brian Husted <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: Random 405 Http Error > > Platform: Weblogic 8.1 > Proxy: Apache > Application: Struts Release 1-1 > > Issue: > > I am receiving an http 405 response on post attempts to a Struts 1-1 > application. > > Here is the post that is causing the 405 (or http method not allowed) from > the weblogic access log > > 192.168.2.21 - - [29/Jul/2003:10:14:12 -0400] "POST > /uboc-tl/executeQuery.do HTTP/1.1" 405 45 > > Here is a subsequent post that worked and returned a 200 > > 192.168.2.21 - - [29/Jul/2003:10:17:23 -0400] "POST > /uboc-tl/executeQuery.do HTTP/1.1" 200 0 > > These Posts were sent from the same apache server and from the same > browser. > Once the 405 occurs, the problem continues to persist in the same browser > session by hitting refresh. However, executing the same request in a > different browser seems to allow the request to be successful. > > I have decompiled the default servlet for weblogic and discovered that if > the http method is not defined in the overriding servlet a 405 is returned. > > Any ideas would be of great help! > > Thanks > Brian > > > > --------------------------------------------------------------------- > 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]