i have the following servlet which seems to compile though the command prompt displays nothing when i compile it in the tomcat webapps/test/WEB-INF/classes directory
here is the jsp page i'm using
i'm getting a 404 saying the /servlet/ExampServlet
description The requested resource (/servlet/ExampServlet) is not available.
how is it going there ? is it ok to compile servlet java files in the WEB-INF/classes directory of an application ?
cheers
chris
One day all greenhorns will run free ...
maha devan
Ranch Hand
Joined: Mar 16, 2004
Posts: 50
posted
0
Chris I also had the same problem with running servlets.Go through the previous posts "How to set conf file file" maha devan "servlet error" maha devan
U will get all the info u want
Bye Maha
William Brogden
Author and all-around good cowpoke
Rancher
Joined: Mar 22, 2000
Posts: 12269
1
posted
0
Read this FAQ on the use of the invoker servlet. The "/servlet/" in the url implies that the invoker servlet is required, but it is typically off by default. Also put your ExampServlet in a package - you will be glad you did. Bill