>Can anyone tell me if this is possible.  I have a JSP page that contains
>information about an order that was just entered (Essentially a
>confirmation page).  What I want to do is somehow intercept the output
>stream inside the JSP page and write it to a file, as plain html, which I
>will later attach to an email and send to someone.

There area couple of solutions...
The best one is using (if you can) Filtering of servlet 2.3

If this is not possible (you cannot use servlet 2.3 but only 2.2) the best 
way is building a simple JSP Tag that will include your page. The tag will 
do whatever you need before sending out the bodyContent.

I've done this for an environment where installing 2.3 was out of the 
question and it works fine.
If you need the code, email me directly.

         Best Regards,
                 Kazuma


Cos'e' il genio. E' fantasia intuizione, colpo d'occhio e velocita' 
d'esecuzione. (Amici Miei)

---
Alessandro A. 'Kazuma' Garbagnati
http://www.kazuma.net/   ICQ UIN: 1600386
Mountain View, CA, 94043 - USA


Reply via email to