I belive soft links are disabled(soon to be optional) in 4.1.x. I fyou want
class files in your own directory, you will need your own classloader.
What's wrong with the WEB-INF/classes?

> -----Original Message-----
> From: Anand Sharma [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, September 25, 2002 7:27 PM
> To: 'Tomcat Users List'
> Subject: RE: override the class location of WEB-INF?
> 
> 
> I am not sure if I understand the comment made below. Anyway, 
> from what
> I understand, you cannot do this as you would be violating 
> the J2EE spec
> which says that classes should be in
> <WEBAPPS_ROOT>/<your-app-name>/WEB-INF/classes or
> <WEBAPPS_ROOT>/<your-app-name>/WEB-INF/lib.
> 
> If you want it under "/usr/local/tomcat/webapps/myapp/MYCLASSES/", you
> can always play with soft links in Unix and shortcuts in Windows.
> 
> Hope this helps.
> 
> Anand
> 
> -------------------------------------------
> Anand Sharma
> Global AS-IT Support team
> Cisco Systems
> 408.525.7080
> http://asitzone.cisco.com
>  
> "When in doubt, follow your heart"
> 
> 
> -----Original Message-----
> From: Dan Payne [mailto:[EMAIL PROTECTED]] 
> Sent: Wednesday, September 25, 2002 3:36 PM
> To: Tomcat Users List
> Subject: RE: override the class location of WEB-INF?
> 
> 
> I believe as long as your class begins with "package
> com.companyname.util.Helper" it does not matter where the file
> physically resides.
> 
> -Dan
> 
> -----Original Message-----
> From: Paul Tomsic [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, September 25, 2002 5:20 PM
> To: [EMAIL PROTECTED]
> Subject: override the class location of WEB-INF?
> 
> 
> Is it possible to override the location of where the
> class files reside for Tomcat4.1.10 ?
> 
> for instance, I'd like to (from a JSP page)
> 
> call a useBean on "com.companyname.util.Helper"
> 
> but I'd like Helper.class
> to reside in
> /usr/local/tomcat/webapps/myapp/MYCLASSES/com/companyname/util
> /Helper.cl
> ass
> 
> is this possible?
> 
> thanks,
> Paul
> 
> 
> 
> 
> __________________________________________________
> Do you Yahoo!?
> New DSL Internet Access from SBC & Yahoo!
> http://sbc.yahoo.com
> 
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> 
> 
> 
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> 
> 
> 
> --
> To unsubscribe, e-mail:   
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: 
> <mailto:[EMAIL PROTECTED]>
> 

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to