File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Upload The Pdf File On Web Server

 
naval kumar
Ranch Hand
Posts: 37
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Karthik Jayachandran
Ranch Hand
Posts: 91
Android AngularJS Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You didnt mention which version of Struts 1 or 2.

Please try this and comeback for any further clarification
 
naval kumar
Ranch Hand
Posts: 37
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Nam Ha Minh
Ranch Hand
Posts: 502
Eclipse IDE Firefox Browser Windows
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Struts 1.x has been end of line. Why not go with Struts 2?
 
naval kumar
Ranch Hand
Posts: 37
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
because my Application is currently running on struts 1.0 and its live application so it could be very difficult to convert on 2.0
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic