I'm trying to figure out a way that allows me to take the dynamic HTML that gets created with each request to a .JSP and create a text file on the server everytime it is requested
A user requests a report (myReport.JSP)
Servlet processes the request places a couple items (ArrayLists) in the request Attribute
The .JSP (report) dynamically creates certain sections (tables, images..) of the report based on those request Attributes
User gets a nice html page to view
I want to give the users the option of being able to e-mail the report (JSP) if they so please. I think the easiest way is to somehow get a hold of the dynamically created html (JSP), create a text file, and then have the server simply use this file as the content of an e-mail message (code which I already have)..
any help is appreciated [ March 18, 2005: Message edited by: Vasilis Karas ]
how? I've read a bit on filtering but am unsure what I'm exactly capturing? I'm guessing my filter mapping would be to .JSP, so that anytime a request is made to my JSP then this filtering would kick in and write the response to a file?