So do not use theme='ajax' in
Practical solutions to problems faced while working with Node.js, Socekt.io, Liferay Portal, WebSphere Portal 6.1, Struts2, Maven2, Apache Axis, Hibernate, Spring, etc.
Tuesday, April 29, 2008
Struts2 File Download Problem
File download has been explained pretty clearly in Struts2 documentation site. I exactly followed the steps given. But I was not able to download a file. Though I didn't get any error, nothing was happening either. I wasted an entire day trying to figure out what the problem was with my code, and then I found out that I was using 'ajax' theme for the submit button that was supposed to submit download request. When I removed it, it started working perfectly fine.
So do not use theme='ajax' in<s:submit /> or <s:a />.
So do not use theme='ajax' in
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment