tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rico <ras_k...@yahoo.com>
Subject Re: Visibility of resources under WEB-INF/classes
Date Mon, 21 Feb 2005 00:50:39 GMT

--- sven morales <aka_sergio@yahoo.com> wrote:

> Hi,
>    I have no problem doing that in linux, having the 
> jsp files and  classes in another directory besides
> being under $CATALINA_HOME.
>   I wonder if you can try using a forward slash in
> windows.

There's no difference. The problem persists, exactly the same.

Rico.

> aka_sergio
>   
> --- Rico <ras_kalb@yahoo.com> wrote:
> 
> > --- sven morales <aka_sergio@yahoo.com> wrote:
> > > Hi,
> > > Are you putting your classes at
> > tomcat5/webapps/yourwebapp/WEB-INF/classes ?
> > 
> > What I outlined in my email is that when I don't do
> > the above
> > because I use my own <Context docBase="C:\myWebApp"
> > path="/something">
> > 
> > Tomcat cannot find the resources as follows:
> > C:\myWebApp\WEB-INF\classes\hibernate.cfg.xml and
> > C:\myWebApp\WEB-INF\classes\log4j.properties
> > 
> > Is that supposed to be the case?
> > 
> > And when I install the web application to
> > <CATALINA_HOME>/webapps/<app_folder> then it can
> > find
> > 
> >
> <CATALINA_HOME>/webapps/<app_folder>/WEB-INF/classes/hibernate.cfg.xml
> > and
> >
> <CATALINA_HOME>/webapps/<app_folder>/WEB-INF/classes/log4j.properties
> > 
> > which I'm happy about but spent a lot of time to get
> > to.
> > 
> > Is there some further attributes for a <Context> in
> > the case where
> > docBase isn't <CATALINA_HOME>/webapps/<app_folder> ?
> > 
> > Rico.


		
__________________________________ 
Do you Yahoo!? 
Yahoo! Mail - Easier than ever with enhanced search. Learn more.
http://info.mail.yahoo.com/mail_250

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message