To follow up on Mark's conversation-
the package specification must mirror the folder name e.g. class fubar in 
package fu.bar would be located in
\fu\bar\fubar.class 
and would be located in 
$CATALINA_HOME/webapps/WebAppName/WEB-INF/classes/fu/bar/fubar.class
alternately you can jar up and locate the jar  in 
$CATALINA_HOME/webapps/WebAppName/WEB-INF/lib

Does this make sense???
HTH,
Martin --
*********************************************************************
This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this email message is
addressed.  If you have received this email message in error, please notify
the sender immediately by telephone or email and destroy the original
message without making a copy.  Thank you.



----- Original Message ----- 
From: "Saha Rabindra N" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <users@tomcat.apache.org>
Sent: Friday, June 30, 2006 4:05 PM
Subject: RE: Simple problem


Hi Mark,
Thanks for replying me back, 
If as per the spec of Tomcat, all classes to be inside the package, then is it 
exempted for Servlet ?
I see servlet class is executed fine even if it is not inside a package.

Thanks for your answer,
RNS

-----Original Message-----
From: Mark Thomas [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 29, 2006 11:15 PM
To: Tomcat Users List
Subject: Re: Simple problem


Saha Rabindra N wrote:
> Can someone tell me if that is a bug in Tomcat, or I am missing something.

You are missing the fact the the spec requires all classes to be in
packages.

Mark

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to