How can I run a Servlet in Tomcat?

alwaysgreen (alwaysgreen)
If I finish compiling my servlet program,
I want to run it in my browser.
Which absolute path shall I put?
Does Tomcat have any profile file that set the value of the path .
Just like Apache web server, we can set the value of the path: /home/httpd/cgi-bin/
so only the file in cgi-bin can run cgi programs.
I guess it's in Servlet path of Tomcat.
I copy my files(.java and .class) into the servlet example files path.But we I run it in my browser ,but the server didn't find it.
just like ""
(My file is HttpExample.class)

2000-11-13 -04:00
This post has been archived. It cannot be replied.
Page address has been copied. To share, click to copy page address.
Share Online by QR Code

Back To Topic: hi,Japper, what's about error 500?

Back To Forum: HOME枫下论坛枫下论坛主坛工作学习IT技术讨论