RE: Cannot Run Servlets, only JSP's (Attn: Troy)

2002-12-09 Thread Johnson, Garrett
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:[EMAIL PROTECTED]]
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:[EMAIL PROTECTED]] 
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:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]

--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: Cannot Run Servlets, only JSP's (Attn: Troy)

2002-12-09 Thread Campano, Troy
Oh my bad...that's what I meant.

-Original Message-
From: Johnson, Garrett [mailto:[EMAIL PROTECTED]] 
Sent: Monday, December 09, 2002 12:09 PM
To: 'Tomcat Users List'
Subject: RE: Cannot Run Servlets, only JSP's (Attn: Troy)


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:[EMAIL PROTECTED]]
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:[EMAIL PROTECTED]] 
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:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]

--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]