Skip to main content

running a servlet under tomcat server

Please note these java.net forums are being decommissioned and use the new and improved forums at https://community.oracle.com/community/java.
No replies
barnie
Offline
Joined: 2012-02-24

i wanted to ask if this is the proper way to compile and build a servlet in order to launch it via tomcat:
build at web project under netbeansand including tomcat server ,which create inedx.jsp and add a servlet file thatcontain my servlet.

becuase there is an additional index.jsp and i dont need it ,( i have a servlet to run).

if it is the proper way how can i run the servlet via the tomcat i use the tomcat installed by the netbeans

there is stuff on the internet about it but there is no documnet that guide for all the steps needed to run a servlet
do i have to include the package of the project ?