Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

run servlets in tomcat

Status
Not open for further replies.

Jefhandle

Technical User
Mar 9, 2005
69
DE
I use Tomcat 4.1. and run my Servlets from eclise
is that possible to use only Tomcat(without eclipse
and other Tools)
and run my servlets file? should i register my
servlets in any Tomcat's file(server.xml etc) ?
 
yes theres nothing with using tomcat directly. you can use any editors to create files, compile+archive them using command line java, then use the tomcat administration manager to 'deploy' your files.
see the jakarta.apache.org website for some links.
 
You should get into the habit of build WAR files (Web ARchive), and then deploy them into the webapps directory.

--------------------------------------------------
Free Database Connection Pooling Software
 
thanks, it works now!just other Question is
how could call the servlet without
type hostname:portnumber/servletname
i will to run at f.e. or just run at localhost/servletname

??
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top