File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Tomcat and the fly likes 500 ERROR HELP!!!!! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "500 ERROR HELP!!!!!" Watch "500 ERROR HELP!!!!!" New topic

500 ERROR HELP!!!!!

Caliph Herald

Joined: Apr 09, 2004
Posts: 16
here is the run down
i am trying to call a simple servlet (lets call it 'Love')
i compliled it and put the class file into the examples folder:
install dir/webapps/examples/WEB-INF/classes
i call it from the html like so:
i registered it in the web.xml file found here:
install dir/webapps/examples/WEB-INF/
it looks like this:

i do all this and i still "Apache Tomcat/4.0.4 - HTTP Status 500 - Internal Server Error"
the error page reads:

sombody please help me out, my brain hurts
[ April 14, 2004: Message edited by: Caliph Herald ]
Caliph Herald

Joined: Apr 09, 2004
Posts: 16
[ April 20, 2004: Message edited by: Caliph Herald ]
William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 13027
It looks like you may have been bitten by the "invoker" servlet conventions.
See this FAQ here at the ranch.
Also put your servlet class in a package, it prevents many odd errors.
If you had browsed around in the last two weeks of messages you would have seen many similar problems - with fixes.
I agree. Here's the link:
subject: 500 ERROR HELP!!!!!
It's not a secret anymore!