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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

using Tomcat for servlets

Status
Not open for further replies.

jemminger

Programmer
Jun 25, 2001
3,453
US
hello,

tomcat was installed along with netbeans ide...I know it's working because I can go to and get the tomcat default page.

i'm supposed to be able to put my servlet class files in a subfolder called 'web-inf', but this isn't working - i only get 404 not found" errors when i type in
anyone have any ideas?
======================================

if (!succeed) try();
-jeff
 
Hi there,
under the web-inf directory you also have to make a directory called classes. your compiled servlet "*.class " should go in there.

You also have to declare you servlet in the web.xml file
which should be in the web-inf directory.

I suggest the following link for all the information you need:

regards, goaganesha
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top