That�s a good aproach....
Thanks for your help, Jim.
Fernando.
----- Original Message -----
From: "Jim Seach" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, August 09, 2001 8:23 PM
Subject: Re: How to execute a dynamic JSP from a Servlet WITHOUT sending it
to disk first ?
> Fernando,
>
> Why do you need to create the JSP page itself dynamically? Couldn't
> you just create one or several JSP pages, then in your servlet, get the
> data, put it into request attributes, and call the proper JSP page to
> display the data? The JSP page would then take the data from the
> request attributes and display what is needed.
>
> Hope this helps,
>
> Jim
>
> --- "L.Fernando" <[EMAIL PROTECTED]> wrote:
> > Hi All,
> > I have the following problem:
> >
> > Based on some database data, one Servlet dynamicly generates an JSP
> > page
> > text inside an string buffer.
> >
> > The question is:
> >
> > How to execute that "page" without having to write it to disk before
> > dispatching it ? I mean, how to send that string buffer (with my
> > "page"
> > inside it) directly to the jsp interpreter servlet ?
> >
> > Any help will be welcome !
> >
> > Thanks in advance,
> >
> > Fernando.
> >
> >
> >
>
>
> __________________________________________________
> Do You Yahoo!?
> Make international calls for as low as $.04/minute with Yahoo! Messenger
> http://phonecard.yahoo.com/
>