wood burning stoves 2.0*
The moose likes Servlets and the fly likes 500 error ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "500 error ?" Watch "500 error ?" New topic
Author

500 error ?

Ahmad Kamal Ramli
Greenhorn

Joined: Jul 12, 2001
Posts: 6
some of my JSP can work well but certain file when i run will show 500 error -> internal server error.
Have a solution.?
Vikram Das
Greenhorn

Joined: Jun 18, 2001
Posts: 6
Hi Ahmad,
Response code 500 : Internal server error indicates that there was an error on the server side. In case of JSPs, this might indicate that there was an error in compling the JSP (that is compling the resultant servlet of this JSP). This would in all probability mean that your JSP was not correctly formed, this in turn could occur due to various reasons : JSP tags not used properly or any other standard java compilation errors. Most servers would indicate the line where the error occured along with the description of the error. Does this answer your question?
Vikram.
Originally posted by Ahmad Kamal Ramli:
some of my JSP can work well but certain file when i run will show 500 error -> internal server error.
Have a solution.?

Jason Kilgrow
Ranch Hand

Joined: May 21, 2001
Posts: 47
Ok. And what if the jsp (servlet) has been running and you haven't made any changes and you still get a 500?
==================================
Originally posted by Vikram Das:
Hi Ahmad,
Response code 500 : Internal server error indicates that there was an error on the server side. In case of JSPs, this might indicate that there was an error in compling the JSP (that is compling the resultant servlet of this JSP). This would in all probability mean that your JSP was not correctly formed, this in turn could occur due to various reasons : JSP tags not used properly or any other standard java compilation errors. Most servers would indicate the line where the error occured along with the description of the error. Does this answer your question?
Vikram.

Ahmad Kamal Ramli
Greenhorn

Joined: Jul 12, 2001
Posts: 6
actually i know Java starting from jdk 1.1.2 but right now i'm moving to JSP. i already installed Tomcat in windows98 and it work ok ..till 500 error occur. can you give a method how to solve this..
regards
Vikram Das
Greenhorn

Joined: Jun 18, 2001
Posts: 6
Hey Jason,
500 error basically means The server encountered an unexpected condition which prevented it from fulfilling the request. This might occur due to any reason tt the server is not able to fulfill the request. JSP not compiling is one such situation. This can be one possible reasons for our man's probs ...
Originally posted by Jason Kilgrow:
Ok. And what if the jsp (servlet) has been running and you haven't made any changes and you still get a 500?
==================================

Vikram Das
Greenhorn

Joined: Jun 18, 2001
Posts: 6
Hi Ahmad,
As I told you before this might be due to a glitch in your JSP code ... some kindof a compilation prob ... so, therez no method to solve this prob other than looking at the error msg tt the server gives you & changing the appropriate line in the JSP ... think of it like this ... itz exactly like the compilation errors that you would have got during your jdk1.2.2 coding time ... "variable not declared", "unterminated statement" etc ... all you can do 4 this is make the code right ... if u r not able to get hold of the prob send the JSP across to me & I can hv a look at it ...
Regards,
Vikram.
Originally posted by Ahmad Kamal Ramli:
actually i know Java starting from jdk 1.1.2 but right now i'm moving to JSP. i already installed Tomcat in windows98 and it work ok ..till 500 error occur. can you give a method how to solve this..
regards

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: 500 error ?