tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Johnson, Garrett" <Johns...@cbsnews.com>
Subject RE: Cannot Run Servlets, only JSP's (Attn: Troy)
Date Mon, 09 Dec 2002 17:08:38 GMT
Troy,

No, actually:  I've got the directory structure like this:

TOMCAT_HOME\webapps\onjava\WEB-INF\classes\com\onjava\login.class

Is that the problem?  Is the \classes directory superfluous?  Is it hiding
the class files?  Is perhaps the turorial, written for Tomcat 4.0, out of
date on this?  Is the elimination of the \classes directory something new?

-----Original Message-----
From: Campano, Troy [mailto:Troy.Campano@LibertyMutual.com]
Sent: Monday, December 09, 2002 12:02 PM
To: Tomcat Users List
Subject: RE: Cannot Run Servlets, only JSP's


Do you have a directory structure like this?

TOMCAT_HOME/webapps/onjava/WEB-INF/com/onjava/

thanks.


~ t r o y ~

-----Original Message-----
From: Johnson, Garrett [mailto:JohnsonG@cbsnews.com] 
Sent: Monday, December 09, 2002 11:59 AM
To: 'Tomcat Users List'
Subject: Cannot Run Servlets, only JSP's


I'm running through the O'Reilly (onjava.com) tutorial on deploying
applications in Tomcat, and I can't seem to get servlets to work.  I render
JSP's just fine, but once I request a servlet, I get a an HTTP Status 404
error:

The requested resource (/onjava/servlet/com.onjava.login) is not available.

Does anyone have any idea why this would happen?  I can include any
necessary log files if requested, but I've wandered through them and they
don't _appear_ to be of any help.

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

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

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


Mime
View raw message