| Author |
500 ERROR HELP!!!!!
|
Caliph Herald
Greenhorn
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: http://localhost:8080/examples/servlet/Love i registered it in the web.xml file found here: install dir/webapps/examples/WEB-INF/ it looks like this: ======================= <servlet> <servlet-name>Love</servlet-name> <servlet-class>Love</servlet-class> </servlet> <servlet-mapping> <servlet-name>Love</servlet-name> <url-pattern>/Love</url-pattern> </servlet-mapping> ============================== 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
Greenhorn
Joined: Apr 09, 2004
Posts: 16
|
|
anybody?? [ April 20, 2004: Message edited by: Caliph Herald ]
|
 |
William Brogden
Author and all-around good cowpoke
Rancher
Joined: Mar 22, 2000
Posts: 12271
|
|
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. Bill
|
 |
 |
|
|
subject: 500 ERROR HELP!!!!!
|
|
|