Chhotisiaasha's Blog

struts 2 Action config for download pdf popup

Posted on: October 26, 2010

<action name=”GenDirLetterAction” method=”genDirLetter” class=”generateLettersAction”>
<result type=”stream”>
<param name=”contentType”>application/pdf</param>
<param name=”inputName”>inputStream</param>
<param name=”contentDisposition”>attachment;filename=”document.pdf”</param>
<param name=”bufferSize”>1024</param>


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s


  • None
  • No comments yet
%d bloggers like this: