wood burning stoves 2.0*
The moose likes Struts and the fly likes Making Struts 1.3 send 500 Internal Server Error when exceptions get thrown Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Making Struts 1.3 send 500 Internal Server Error when exceptions get thrown" Watch "Making Struts 1.3 send 500 Internal Server Error when exceptions get thrown" New topic
Author

Making Struts 1.3 send 500 Internal Server Error when exceptions get thrown

mohanasundaram muthukannan
Ranch Hand

Joined: May 29, 2008
Posts: 35
I'm working on an Struts 1.3 JSP front end that makes calls to a Java back end written with Struts 1.3. My problem is that when the back end throws an exception, the client still sees a "200 OK" HTTP response code instead of "500 Internal Server Error" like one would expect.

Please help me to resolve this issue.
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8910
    
    8

Can't fix the problem so you are going to try to hide it?



"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
karthick meyyappan
Ranch Hand

Joined: Jul 29, 2011
Posts: 43

hi rancher,
can you post some stack trace for your error some more tough for me atleast.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Making Struts 1.3 send 500 Internal Server Error when exceptions get thrown