Java code could not read the file located on the Client machineile is

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ganessinv
    New Member
    • Sep 2012
    • 1

    Java code could not read the file located on the Client machineile is

    I am using a struts application.
    I want to upload a file in JSP and read the contents of that file in the Java.

    Case 1:
    I deployed this application.war in my local tomcat server, and ran the app, it works fine. (Local machine OS is windows)

    Case 2:
    When I deployed this application.war in the tomcat server on Unix machine, and ran, it gives the error "No such file or directory". it could not read file stored on my local machine when ran on the unix machine.
    Please help me.
Working...