Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

RE: Web-app setup

Nathan Christiansen

2003-10-09

Replies:

You probably need to write a deployment descriptor (web.xml file).

I couldn't find a good tutorial quickly, but the book Java Servlet Programming is a good resource for beginners.

-- Nathan Christiansen
 Tahitian Noni International
 http://www.tahitiannoni.com


-----Original Message-----
From: Duane Kehoe [mailto:dkehoe@(protected)]
Sent: Thursday, October 09, 2003 2:47 PM
To: Tomcat Users List
Subject: Web-app setup


I am trying to setup a webapp and am having a little difficulty. My
application starts on /webapps/myapp/index.jsp with 2 text fields(1
text, 1 password), this is a login type page, when the submit button is
clicked on the jsp my class which is packaged into
com.mycompany.myapp.Login comes back with a 404 status code everytime.
I have created inside of the WEB-INF directory a
classes/com/mycompany/myapp/ directory structure and placed both my java
source and class files into this dir. As far as I can see everything
looks right even my error points to the right dir structure however I
continue to get requested resource not available errors, I think my
web.xml is the issue however I am very new to tomcat and unable to find
anything in the docs or mail list archives that help me. I am currently
running Apache 2.0.46 with Tomcat 4.1.18 on Linux 2.4.20 kernel. Any
help here would be great tia.
--

/*Weyco** Group* -/

*/Florsheim, Brass Boot, Nunn Bush, Stacy Adams/*
Duane Kehoe
EC / Programmer / Analyst
 

Phone # 414.908.1814
Fax # 414.908.1601
Email: dkehoe@(protected)



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)


©2008 junlu.com - Jax Systems, LLC, U.S.A.