Sir, I am using struts framework and want to Upload The file on web Server Through My Application server Java File.
Example:- my Domain is like "http://www.trial.xyz/machine/home.do" and i want to upload from the Application server Java file (Machine.java) to on Web server folder (meter/pdf_file/..).how can i do it?? Please provide me Code or Suggestion. My Application and Web server is different and both have different Ip Address.
Please try this and comeback for any further clarification
Joined: Jul 08, 2012
Struts version 1 . As i was Thinking That I will Give the Path of Web server path location In machine.java File and write the pdf file on that location. But Its not i good strategies to do it . because from this the Most of traffic will be on Network App server then Write The File On web server.