K
kikotores
I'm trying to develop and run servlets. I installed Tomcat 4.1.31
However, I can't get my serlvets to run.
I did uncomment
<servlet-mapping>
<servlet-name>invoker</servlet-name>
<url-pattern>/servlet/*</url-pattern>
</servlet-mapping>
I get the example servlets running
However if I change the name of HelloWorldExample.class and then get a
message that it doesn't run, then rename it back to the original I
still get the error message. Same happens with my servlets.
The second problem is that I can't get my servlets running in
webapps\ROOT\WEB-INF\classes. I just sometimes get them work if I put
them in the examples directory.
Do I have to make a new servlet-mapping for each servlet I make
Thank you
However, I can't get my serlvets to run.
I did uncomment
<servlet-mapping>
<servlet-name>invoker</servlet-name>
<url-pattern>/servlet/*</url-pattern>
</servlet-mapping>
I get the example servlets running
However if I change the name of HelloWorldExample.class and then get a
message that it doesn't run, then rename it back to the original I
still get the error message. Same happens with my servlets.
The second problem is that I can't get my servlets running in
webapps\ROOT\WEB-INF\classes. I just sometimes get them work if I put
them in the examples directory.
Do I have to make a new servlet-mapping for each servlet I make
Thank you