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".

Reply via email to