Sorry for not enough info.
> what is 't' ?
"t" is a Javabeans (in package somepackage) which uses the resource file
"Application.properties"
- Original Message -
From: "Mike Curwen" <[EMAIL PROTECTED]>
To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
Sent: Wednesday, July 14, 2004 10:18 PM
Subject: RE: why only put resource file to "$TC$\shared\classes", did TC
found it?
> what is 't' ?
>
>
> > -Original Message-
> > From: Chris [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday, July 14, 2004 6:24 AM
> > To: Tomcat Users List
> > Subject: why only put resource file to "$TC$\shared\classes",
> > did TC found it?
> >
> >
> > Howdy,
> > I am developing webapp using TC4.1.27 , Eclipse 3.0 and
> > Lomboz 3.0, In one of my webapp's bean class, I want to get a
> > resource file by :
> >
> > URL u = t.getClass().getResource("/Application.properties");
> >
> > my bean class put to WEB-INF\classes\somepackage\, and the
> > webapp was deployed by an xml file under directory
> > $TC$\webapps , It is strange the only put resource
> > file(Application.properties) to "$TC$\shared\classes", did TC
> > found it.
> >
> > I tried putting it to WEB-INF\classes, it could not be
> > found. I tried putting it to WEB-INF\classes\somepackage, it
> > could not be found. I tried putting it to Eclipse's project
> > directory, it could not be found.
> >
> > Any idea? Putting resource file to "$TC$\shared\classes" is
> > a bad idea I think.:)
> >
> > Best Regards
> > Chris
> >
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]