wood burning stoves 2.0*
The moose likes JSF and the fly likes Accessing an Excel file inside a WAR file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Accessing an Excel file inside a WAR file" Watch "Accessing an Excel file inside a WAR file" New topic
Author

Accessing an Excel file inside a WAR file

Eugene Abarquez
Ranch Hand

Joined: May 18, 2006
Posts: 211
Hello All,

I don't know where to place this appropriately, so I'll just post it here. I have an Excel file that I packaged with my WAR file, which I am using as a template for a certain download. When the user clicks a button, this file is read and it's content is saved as a downloaded file. The thing is, I am having problems accessing the Excel file. It seems like I cannot read the file inside the WAR. I tried accessing the same file, now saved in a directory outside of my WAR file, and the file is downloaded correctly. Does anybody out there knows how to correctly access a file inside a WAR file?

Thanks in advance.


There's so much to learn in this industry, and not everybody has the necessary interest.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Accessing an Excel file inside a WAR file
 
Similar Threads
Reading excel file inside jar file using jxl api not working !!
Accessing an Excel file inside a WAR file
JSP download
Problem in deploying ear file in weblogic 6.1
Accessing an Excel file inside a WAR file