How would u make changes to the xls template if it is within the ear? -----Original Message----- From: Sharma, Siddharth [mailto:[EMAIL PROTECTED] Sent: Friday, September 10, 2004 8:39 AM To: POI Users List Subject: RE: help: i need to read an xls template file in a web application
You do not have to redeploy the application if you make a change to a resource such as an xls file. You only have to bounce the clone/server, and that too only if you are caching the stream, rather than reading it each time you need it. So placing it in the ear and referencing in the webapp (in the manifest) seems the best option not only during development, but also operationally. -----Original Message----- From: Hunter Ren [mailto:[EMAIL PROTECTED] Sent: Friday, September 10, 2004 11:34 AM To: POI Users List Subject: Re: help: i need to read an xls template file in a web application What I did is, i store the path to the file into a property file, and the application get this path when it's initialized. I like to put the templates out of the war or ear file, so that i could update those templates without redeploy the application. Steve wrote: >in a deployed web application..... >from a java program on the web server (and also on the app server) I >need to read an xls file, as a template. >any idea as to how to find out the path to the xls file, or to get it >as an InputStream? >THANKS, >Steve > > >--------------------------------------------------------------------- >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] --------------------------------------------------------------------- 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]
