• Post Reply Bookmark Topic Watch Topic
  • New Topic

Servlet Showing Internal Error 500 but not displaying the error message  RSS feed

 
Ajit Kanada
Ranch Hand
Posts: 96
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When i compile my .java file i get no errors in my file.But when i try to call the servlet i get Internal Server Error.
Moreever i dont get the error discription in the browser .So it has become impossible to track the run time error.
Can somebody help me..
Thanx
 
Cynthia Yao
Ranch Hand
Posts: 92
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
what web server are u using? Have u tried to find the log file? Or take a look at javaworld magazine, there is an article on syslog which you could implement
 
Poornima Shetty
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Your problem of overcoming the 500 Internal Server Error is only to debug your code by putting in some System.out.println statements ,the best way to reach your error in case of 500ISE.
Again depending on the Web Server,Application server if you have an IDE then once you get this error in the browser you can see the console in the IDE to see where excatly is the error and then start debugging it ......
If any other help you are most welcome....
...P....
 
Ajit Kanada
Ranch Hand
Posts: 96
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI
I m using javawebserver..
Also I m not getting any output by writing System.out.println()..
Any way thanx both of u for replying
Can u help me once again?
Ajit
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!