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

回到话题: hi,Japper, what's about error 500?

回到论坛: HOME枫下论坛枫下论坛主坛工作学习IT技术讨论