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]

Reply via email to