If you have two web applications both using struts, you may put the struts jars in a common lib directory, otherwise, your jars will be picked up twice.
If I'm wrong please correct me.
Cheers,
Stephen Kong.
-----Original Message-----
From: Jacek Laskowski [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, 28 September 2004 9:43 PM
To: [EMAIL PROTECTED]
Subject: Re: Struts on Geronimo
Eric Shannon wrote:
> I successfully deployed an application of mine that uses Struts
> actions and Tiles.
Was it with Jetty or Tomcat embedded? Also, I can't imagine how
Struts-based applications couldn't work on Geronimo. It's a job of
Jetty/Tomcat so how would it be broken (unless there's a bug in
Jetty/Tomcat themselves). I don't understand the worry :(
> I put the required struts and commons jars in the WEB-INF\lib
> directory.
That's how it's supposed to be done. That's a web application and all of
the jars should be underneath WEB-INF/lib whereas classes should go to
WEB-INF/classes.
> I expect you could also place them in the Geronimo
> repository and define the dependencies in your geronimo-jetty.xml
> file.
Why? Isn't it sufficient to put them in WEB-INF directories?
Jacek
_____________________________________________________________________
This e-mail has been scanned for viruses by MCI's Internet Managed
Scanning Services - powered by MessageLabs. For further information
visit http://www.mci.com
