"Galbreath, Mark" <[EMAIL PROTECTED]> writes:

> > From: kaustubh [mailto:[EMAIL PROTECTED]]
> > Sent: Saturday, March 10, 2001 11:20 PM
> > To: [EMAIL PROTECTED]
> > Subject: Re: JSP - Bean problem : plz help
> >
> >
> > Hi Mark & Piotr,
> > Thanks for u're suggestions...
> > I have already tried that...and it still doesn't work...
> > :((
> > I even made a ".war" file of my application so that when Tomcat started it
> > expanded the war file
> > into proper directories.....but that too did not help...
> > the key here is that my bean class is exposed to my application from
> > catalina_home/common/classes....
> > but not from my own application....r there any settings to be done to
> > server.xml?
> > I did not find any help on this on the net.....
> > I also have a "context" for my application in the server.xml...
> > but that doesnot help....

> It's been a long time since I last used Tomcat, but I seem to remember that
> you modify server.xml to reflect every additional application home in
> webapps.  server.xml is well documented with internal comments....
>

No Mark, I don't think it's that.

I'm not sure what version of Tomcat you're using but the newer
versions enforce a "sandboxed" webapp to not be able to load any
classes from anywhere except within the webapp (the war file) and the
common lib directory.

I think that's what Kaustubh is trying to do, put his bean class in
the common lib directory.


Kaustubh, have you put your class in a jar file within that directory?
If so, I'm not sure why it won't work. Perhaps you're version of
tomcat doesn't support common lib as well as it should.



Nic Ferrier

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to