You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "David W. Brown" <dw...@webitplanet.com> on 2005/02/23 13:33:07 UTC

disk file as servlet or jsp resource

Hello tomcat gurus, I have developed a small web app that keeps inventory by reading and writing to a MicroSoft Excel file. The web app is performing as designed except for reading the input Excel. Currently, I am having the user browse for the file on the local file system which works OK. The client server application works OK when the client and server are the same machine. When I access the web app from a remote client machine I am of course not able to see the input Excel file that resides on the server machine. I am deploying my app in the usual way using an ant build.xml file and the Tomcat /manager servlet. I have been able to include the input Excel data file in the output (dot).war file by placing the Excel input data file in the web directory. Is there some way of using the input Excel data file as a web app resource such that the data file can be loaded when the (dot).war file is deployed and is started up? Please advise, David.

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org