Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
mohanasundaram muthukannan
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 9280
10
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can't fix the problem so you are going to try to hide it?

 
karthick meyyappan
Ranch Hand
Posts: 43
MyEclipse IDE Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi rancher,
can you post some stack trace for your error some more tough for me atleast.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic