Firstly, sorry for the duplicate post.

Well, I solved the problem by playing with sitemesh for a couple of hours. And finally find out that I need to exclude the action path from the decorators.xml. Sitemesh is good but obvious I need to watch out it in the future :)

Best wishes,

Haotian Sun

Haotian Sun wrote:
Hello girls/guys,

I followed this post(http://wiki.apache.org/struts/StrutsFileDownload) to implement a download action within my application based on Appfuse 1.9.4 with Struts favor. The download action works fine and I can download a pdf file to my disk but the pdf is broken by adding the header and footer html codes from the appfuse. I guess that's caused by some filter in the appfuse, but not sure which one, and how to exclude the folder which host my download files.

Hope you can help...

Best regards,

Haotian Sun

---------------------------------------------------------------------
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