I would recommend using XML/XSL for this.
the XML/XSL  transformation can be invoked from anywhere and provides a more
flexible solution than a JSP.

EJB COMPONENT ---> Get data form the DB.
              ---> Generate it into an XML document
|
|----------------------------> Get the XSL template (Page)
|
|-----------------------------> Execute the transformation
                                with the data and the stylesheet
|
|-----------------------------> Send the result by email.

and voila, you are good to go

Filip


~
Namaste - I bow to the divine in you
~
Filip Hanik
Software Architect
[EMAIL PROTECTED]
www.filip.net

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Per Lewau
> Sent: Friday, May 11, 2001 4:22 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [JBoss-user] How to execute a JSP in a EJB
>
>
>
> On Fri, 11 May 2001, Pedro E. G�mez wrote:
>
> >
> > Sorry for the confution.
> >
> > The idea is other, is something like this:
> >


_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to