tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nathan Christiansen" <Nathan_Christian...@tni.com>
Subject RE: Web-app setup
Date Thu, 09 Oct 2003 20:56:39 GMT
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@weycogroup.com]
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@weycogroup.com



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message