> -----Original Message----- > From: Craig McClanahan [mailto:[EMAIL PROTECTED] > Sent: Tuesday, July 20, 2004 4:39 PM > To: Struts Users Mailing List > Subject: Re: OT: Best practice for access to file from > multiple web apps > > > On Tue, 20 Jul 2004 15:35:51 -0700, Jim Barrows > <[EMAIL PROTECTED]> wrote: > > > We have PDF's that can be created by one webapp, but must > also be served by other webapps. >
<snip suggestion> > > Is it really any harder than this? If it is, I must be > missing something. I dunno.. maybe I am.... my initial problem with your suggestion was writing the web apps to a common directory, however, I had a duh moment from reading the code in the tomcat 5 classpath problem thread, and can now solve that. What you're saying is that if I do something like: /ear/producerWar creates a pdf and puts it in /ear/producerWar/pdfLoc so it can be gotten to using the relative url /producerWar/pdfLoc/pdfIWant/pdf. Then /ear/consumerWar would use a linke like /producerWar/pdfLoc/pdf, just making sure that struts doesn't append /consumerWar to the URL? --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]