Hi,
Didn't we discuss this last week? ;)  Anyways, don't put your webapp
under webapps/ROOT: put it under the webapps folder itself.

Put all your classes in packages to establish a good habit.

Use explicit imports for your classes unless they're in the same package
as the class using the imports.


Yoav Shapira
Millennium Research Informatics


>-----Original Message-----
>From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
>Sent: Wednesday, June 16, 2004 10:39 AM
>To: tomcat-user
>Subject: question
>
>Question, please.
>
>I have a web application... named matrici/web....
>
>
>so i have a tree like this
>
>matrici/web/
>-----many jsp files
>-----WEB-INF/
>----------web.xml
>----------classes/
>----------lib/
>
>my application is under $CATALINA_HOME/webapps/ROOT
>
>I put my extern class, CreaServizio.class in WEB-INF/classes/ is it
right?
>do i have to create a package for that class?
>or do i have to use an explicit import instruction?
>
>It returns me an error
>             cannot resolve symbol symbol  : variable CreaServizio
>
>CreaServizio is a class
>
>Angelo
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


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

Reply via email to