On Fri, 16 Apr 1999, Michel Verwijmeren wrote:
>>Hello,
>
>I heard that it is possible to generate JSP pages by a servlet. Does anybody know 
>where I
>can find a good tutorail about that, or something like that.
>I just want to see some good examples. Or can anybody supply me one??
>

A reasonable scenario for  dynamic JSP generation is that of using metadata and
templates for building application-specific JSP pages that can be later customized.

A friend of mine recently thought of a servlet (itself a JSP page) that took
as parameters a database connection and a table name and subsequently generated
a JSP page to display that table's contents.

We played around with this possibility some weeks ago. The
resulting servlet is a shamefully quick'n'dirty implementation that,
nevertheless, illustrates the point. You may check it at
http://www.plenix.org/polyjsp/samples/genjsp.zip.

Regards,

Ricardo

--
========================================
Ricardo Rocha
[EMAIL PROTECTED]
http://www.mindspring.com/~rrocha

Nihil humanum me alienum est

===========================================================================
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