tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shapira, Yoav" <>
Subject RE: question
Date Wed, 16 Jun 2004 14:48:33 GMT

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: []
>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
>-----many jsp files
>my application is under $CATALINA_HOME/webapps/ROOT
>I put my extern class, CreaServizio.class in WEB-INF/classes/ is it
>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
>To unsubscribe, e-mail:
>For additional commands, e-mail:

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:
For additional commands, e-mail:

View raw message