You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by dsd dsd <ki...@yahoo.com> on 2001/02/01 07:55:38 UTC

Where to Strore bean in Tomcat

Hello 

      my application directory is purejsp here i am 
keeping my jsp files. I created 2 more dirctories 
Web-inf under that one more direcory called classes 
here i am keeping my servlet class file. Now please
tell me where should i keep a bean (Package) that is
used by both jsp and servlet file.

with regards
kiran   



__________________________________________________
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/

Re: Where to Strore bean in Tomcat

Posted by Chris Janicki <Ja...@ia-inc.com>.
Suggestion: I've had some confusing problems when using packages in 3.1, 
so you might want to jar up any packaged classes (even if it is just one) 
into a jar and use the WEB-INF/lib directory as Matt suggested.

Chris

>>>>>>>>>>>>>>>>>> Original Message <<<<<<<<<<<<<<<<<<

On 2/1/01, 9:24:40 AM, Matt Goss <mg...@rtci.com> wrote regarding Re: Where 
to Strore bean in Tomcat:


> Kiran,
> All class files go in the WEB-INF/classes folder. (unless they are in a
> jar file, then put them in the WEB-INF/lib folder)
> Matt

> dsd dsd wrote:
> >
> > Hello
> >
> >       my application directory is purejsp here i am
> > keeping my jsp files. I created 2 more dirctories
> > Web-inf under that one more direcory called classes
> > here i am keeping my servlet class file. Now please
> > tell me where should i keep a bean (Package) that is
> > used by both jsp and servlet file.
> >
> > with regards
> > kiran
> >
> > __________________________________________________
> > Get personalized email addresses from Yahoo! Mail - only $35
> > a year!  http://personal.mail.yahoo.com/
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> > For additional commands, email: tomcat-user-help@jakarta.apache.org

Re: Where to Strore bean in Tomcat

Posted by Matt Goss <mg...@rtci.com>.
Kiran,
All class files go in the WEB-INF/classes folder. (unless they are in a
jar file, then put them in the WEB-INF/lib folder)
Matt

dsd dsd wrote:
> 
> Hello
> 
>       my application directory is purejsp here i am
> keeping my jsp files. I created 2 more dirctories
> Web-inf under that one more direcory called classes
> here i am keeping my servlet class file. Now please
> tell me where should i keep a bean (Package) that is
> used by both jsp and servlet file.
> 
> with regards
> kiran
> 
> __________________________________________________
> Get personalized email addresses from Yahoo! Mail - only $35
> a year!  http://personal.mail.yahoo.com/
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, email: tomcat-user-help@jakarta.apache.org