R
richardsosborn
We have a situation where we need to create a XLS file from a web
application.
The only way we could come up to create the file and have it DL to the
browser
was by forwarding to a servlet. Then the servlet would create the file
and send it to the client. The XLS file would be mapped as a MIME type
in the web.xml.
Problem is, can struts forward to a servlet? If so, what would the
line look like?
<forward name="excel_file" path="/reports/my_servlet"/>
application.
The only way we could come up to create the file and have it DL to the
browser
was by forwarding to a servlet. Then the servlet would create the file
and send it to the client. The XLS file would be mapped as a MIME type
in the web.xml.
Problem is, can struts forward to a servlet? If so, what would the
line look like?
<forward name="excel_file" path="/reports/my_servlet"/>