Hi, we have a struts application to read the data and displaying a PDF file. and we need to follow the process like in the following.
1) read the data from database and write into the PDF file. 2) store this file in a location (where ever it is) 3) on client side, when we call the particular action, the PDF file should open from the location.
I can store the file in a physical location, but I dont know how to grab that file from that place to display.
I can open the file, if the file is in server side In the Struts-config.xml, I wrote like this and working
Here How to store the PDF file in the ("/pages/pdf") location, which is in server side?
Im unable to store the file in the server side, but I can store into the physical location (Ex:- File path = "C:\pages\pdf") but I need to store the file in the server side (Ex:- WebConten\pages\pdf) I dont how to store in the server side