tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <er...@cimex.com.cu>
Subject RE: Web-app setup
Date Thu, 09 Oct 2003 21:56:43 GMT
You only need to put your class files in the WEB-INF directory not the
java files. 

Is your class file a Servlet???

Maybe is a mapped error in your web.xml include relevant part of it
pls...

Sincerely
Erlis Vidal Santos

> -----Original Message-----
> From: Duane Kehoe [mailto:dkehoe@weycogroup.com]
> Sent: Thursday, October 09, 2003 4: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