Jsp out to Persist

2007-05-01 Thread nagesh.kumar
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

Re: Jsp out to Persist

2007-05-01 Thread Lance
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

RE: Jsp out to Persist

2007-05-01 Thread nagesh.kumar
] 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

Re: Jsp out to Persist

2007-05-01 Thread Lance
, 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