I have used a straight servlet to download a blob from a database
using a URL like this:

http://someserver/documents/123/file.pdf

I did it this way instead of using struts because IE is a pile of crap. :-)

In this URL, the /123/ is the record's id, and file.pdf is the
suggested extension for the browser, which just thinks that is it a
static file.

If you're interested, I can send you the source for the servlet - it's
only a few lines of code.

Larry


On 8/21/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Hi All,
> 
> I'm developing a web application based on Struts. In this, one of the
> features to be included is , to download a file, when the user clicks on
> the link in the JSP page.
> 
> Also, when the user clicks on the link, the Save/Open dialog box should
> appear.
> 
> If nyone has used the DownloadAction provided by Struts OR any other
> solution , please help.
> 
> Thanks
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to