Mike, If you have control of the server you can try what I did. I needed to have a common directory to serve out pics for several of my apps. I set up a folder in the root of tomcat and created a servlet that intercepted any request for a .jpg file. It then read the file in using file IO and wrote it out to the response.
This had the side affect of not needing to reloading the pics when the app was reloaded. Thus achieving what you need. You would have to manipulate the movie files manually rather than as part of the war. Some caution is needed when writing the servlet to ensure that a mal-formed URL does not create some unwanted action. One thing I did was to do a substring so as to only use the segment of the URL that indicated the file name without extension. This way adding any path information would not affect the request. Let us know if you need further information. Doug www.parsonstechnical.com ----- Original Message ----- From: "mpforste" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Wednesday, June 02, 2004 8:54 AM Subject: 2 War files for one Application > I would like to know if it is possible to have 2 War files for one > application. > > The problem... > > I have to upload changes to the server and the link is not that fast. > > The current War file is 27mb in size, but the changeable parts are only > about 1mb at most > > (the jar file inside is only 187kb) > > Most of it is jar files that are needed and some swf movie files for a fixed > presentation. > > Is it possible to have 2 files set up to make the whole site so I can put > the larger non changing files > in one larger war and the smaller changeable files in another to make > updating the site easier? > > > Mike. > > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.690 / Virus Database: 451 - Release Date: 22/05/2004 > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
