aspose file tools*
The moose likes Servlets and the fly likes inputting file path to java servlets Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "inputting file path to java servlets" Watch "inputting file path to java servlets" New topic
Author

inputting file path to java servlets

Ron Isac
Greenhorn

Joined: Dec 22, 2004
Posts: 9
Hi,
How can I input an excel file into the java servlet program? I am using POI HSSF programming.I have created a form that will accept the path from the user and in the servlet program, I have called a post method to retrieve the path of the file. I am getting the path of the file as a string.Then I have to access the file to read the data. But it is not working. What should I do?.Please help me.

Regards,
Ron Isac
Adeel Ansari
Ranch Hand

Joined: Aug 15, 2004
Posts: 2874
What are you getting??

Tip: Better write your file reading/writing code outside your servlet.
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

Are you trying to upload the file from a client or just point to a file that already exists on the server?


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: inputting file path to java servlets
 
Similar Threads
creating .class file in Tomcat
Problem in reading csv file
information regarding the import...
how to include js and css file in eclipse
iText: Digital signature