I should know this but here is my dilemna.
I have two packages com.sasco.xml and com.sasco.ccreview
In these packages I have two class in the com.sasco.xml and one class in the ccreview. The class in the ccreview package is an HTTPServlet.
I have the directory structure correct in my development directory and the class path set to the root of this development directory, and therefore compiling is fine.
I am no transferring this
servlet and helper classes to
Tomcat's webapps/root directory. in this directory I created a directory called ccreview. I put the com/sasco/xml and com/sasco/ccreview directories in this subdirectory, changed the web.xml document in the web-inf directory to include the following
I also have an html form page that the action of the submit button is <form action="CCReview">
The form is located in the ccreview directory, so when submit is clicked it looks for CCReview/CCReview, but alas I get a 404 error.
Do I need to have the servlet .class file in the com.sasco.ccreview directory, or should it be in my web apps root directory with the html document.
Thanks
Mark