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]



Reply via email to