This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
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: 9425
12
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
Boost this thread!