Hi Ramgopal,

Thanks for the remark.
Any ideas how I would go about capturing JSP output? I'm not sure what
classes/methods allows me to do this.

Also can you elaborate on how you would go about using a bean of another
JSP?
Sounds interesting.

Thanks.
Hwei


-----Original Message-----
From: Ramgopal Mudigonda <[EMAIL PROTECTED]>
To: Chan Hwei Mew <[EMAIL PROTECTED]>
Date: Friday, March 19, 1999 5:57 PM
Subject: Re: Control over Servlet and JSPs


>Yes Hwei,
>
>You can do so! but i feel that, the moment you capture the output of JSP
into a
>servlet, it becomes a non-dynamic data, which can be presented thru
servlet.
>
>Though you can do this with servlet, i would prefer to do the same with a
bean
>of another JSP, which is more effective.
>
>Regards,
>Ramgopal
>
>Chan Hwei Mew wrote:
>
>> Hi Daniel,
>>
>> Thanks for the reply.
>>
>> I'd like to be able to call a JSP file from my servlet and capture the
HTML
>> generated by the JSP instead of the JSP sending HTML to the browser
>> directly.
>>
>> This way, I can do whatever I want to with the result.
>>
>> Any ideas?
>>
>> Regards,
>> Hwei.
>>
>> -----Original Message-----
>> From: Kirkdorffer, Daniel <[EMAIL PROTECTED]>
>> To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
>> Date: Friday, March 19, 1999 12:09 PM
>> Subject: Re: Control over Servlet and JSPs
>>
>> >If I understand correctly, you're trying to dynamically decide which JSP
>> >file to call or what HTML to produce.  If so the servlet should decide
the
>> >former, and the Java code within the JSP will determine the latter.
>> >
>> >But perhaps I don't understand what you're really asking here.
>> >
>> >Dan
>> >
>> >> ----------
>> >> From:         Chan Hwei Mew[SMTP:[EMAIL PROTECTED]]
>> >> Reply To:     Chan Hwei Mew
>> >> Sent:         Wednesday, March 17, 1999 2:25 PM
>> >> To:   [EMAIL PROTECTED]
>> >> Subject:      Control over Servlet and JSPs
>> >>
>> >> Hi there,
>> >>
>> >> I'm wondering if it is possible from a servlet to control the
>> >> compilation/execution of a JSP page and have the HTML returned from
the
>> >> executed JSP back to the servlet so that we can choose what to do with
>> the
>> >> result.
>> >>
>> >> I'm not sure if I'm on the right track but is there some class called
the
>> >> PageCompileServlet which does something like this? I haven't been able
to
>> >> locate this class and am not sure if I'm barking up the wrong tree!
>> >>
>> >> I'd really appreciate any help, suggestions regarding this.
>> >>
>> >> Regards,
>> >> Hwei.
>> >>
>> >>
>>
==========================================================================
>> >> =
>> >> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
>> >> body
>> >> of the message "signoff JSP-INTEREST".  For general help, send email
to
>> >> [EMAIL PROTECTED] and include in the body of the message "help".
>> >>
>> >
>>
>===========================================================================
>> >To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
>> >of the message "signoff JSP-INTEREST".  For general help, send email to
>> >[EMAIL PROTECTED] and include in the body of the message "help".
>> >
>>
>>
===========================================================================
>> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
>> of the message "signoff JSP-INTEREST".  For general help, send email to
>> [EMAIL PROTECTED] and include in the body of the message "help".
>

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JSP-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to