Hi!!

We have delevoped one application who needs a specific funcionality of excel
export/import data.
It has an action which retrieve relevant data from database, when the action
is invoked by a button.
Next, the action call an Excel builder object, which create the Excel file
with the relevant formatted data
(Excel handling with Jakarta Poi)
Finally constructs the httpServletResponse with the file attached (see HTTP
protocol)

httpServletResponse.setHeader("Content-Disposition", "attachment;
filename=\"" + fileName + "\"");
httpServletResponse.getOutputStream().write(......theFileStream......);

It's only an approach, I don't know much more details

Greetings,

Luis Urueña Frías Oficina 101
Edificio Galileo, módulo Rojo
Parque Tecnológico de Boecillo Valladolid - España



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to