On 9/5/07, Antony Stubbs <[EMAIL PROTECTED]> wrote: > > Is it possible for one war to use classes in another war? > > So far my googling says no: > http://www.ibm.com/developerworks/websphere/library/techarticles/0112_deboer/deboer.html > "The only restriction to this otherwise simple solution is that, since Web > modules are not structured with classes at their root, other modules can > never depend on classes from within Web modules. In other words, no modules > may use the manifest to depend on classes from within a Web module." > Is there another way other than using the manifest file? > Editing the "J2EE Module Dependencies" only let's you add jar files, which > supports the above statement. > > Why? - i have a legacy struts app and i would like to make a wicket war > which uses the struts' app's backend which is burried in the struts war > file. > > The other option could be to add a wicket servlet catching a different > sub-url say /wicket/* - but not sure if that would work, and i'd like to > keep the wicket app separate if possible.
You can include the classes as jars in both the wars, right? That should typically work fine. Eelco --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]