I've been able to use a DownloadAction in the past (or at least the code from it) to serve up a file from w/in the web application. Depending on your permissions on the box, you should be able to serve up any file from the filesystem using a JSP or Servlet - it's just a matter of figuring out the code to do it. Unfortunately, I don't have any samples lying around for this kind of stuff.
Matt On 4/19/07, soussou97 <[EMAIL PROTECTED]> wrote:
mraible wrote: > > Which web framework are you using? Struts 1.x has a DownloadAction > you may be able to use: > > http://www.google.com/search?q=DownloadAction > > Matt > > On 4/18/07, soussou97 <[EMAIL PROTECTED]> wrote: >> > > Hi Matt; > > I not use any Framework but a simple JSP and may be a servlet. I do not > know if a JSP can read of the pdf files on external directory, I think I > must write a servlet for that ? > which is your opinion ? > >> Hi; >> >> I have the following process : I receive via FTP of the pdf files which >> are >> stored on a directory of my server (Tomcat + JOnas). This directory is >> outwards of the deployment directory of JOnas (work directory) and the >> pdf >> files are not inside of war file but uploaded directly on the directory. >> I must realized a JSP which display to user these pdf files. So my >> question >> how implemented this JSP in using external directory ? >> >> regards; >> -- >> View this message in context: >> http://www.nabble.com/Jsp-to-display-of-the-pdf-files-tf3603284s2369.html#a10066565 >> Sent from the AppFuse - User mailing list archive at Nabble.com. >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > > -- > http://raibledesigns.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/Jsp-to-display-of-the-pdf-files-tf3603284s2369.html#a10073660 Sent from the AppFuse - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- http://raibledesigns.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
