Hi All,
I have a scenario like I need to persist or get stream of generated output
JSP OUT PUT [HTML]
I have flow like ACTIONJSP gives HTML out oput to browser
Now I need to persist this generated html from jsp to some file.
How can I close this
Please give me a solution
Or
How can
Are you saving the file to the client or to the server?
If you want the client to save the file, you can set the content
disposition header... this will cause a file download dialog to appear
response.setHeader(content-disposition, attachment;
filename=someFileName.html);
If you want to
]
Sent: Tuesday, May 01, 2007 4:52 PM
To: Struts Users Mailing List
Subject: Re: Jsp out to Persist
Are you saving the file to the client or to the server?
If you want the client to save the file, you can set the content disposition
header... this will cause a file download dialog to appear
, May 01, 2007 4:52 PM
To: Struts Users Mailing List
Subject: Re: Jsp out to Persist
Are you saving the file to the client or to the server?
If you want the client to save the file, you can set the content disposition
header... this will cause a file download dialog to appear
response.setHeader
4 matches
Mail list logo