One way is to implement a transform
In other words java embedded in as jsp which parses files of a known format
(such as xml) which then transforms the results to html
Be mindful that you will need the input as well formed xml and a stylesheet
to identify display characteristics
http://www.oreilly.com/catalog/javaxslt/chapter/ch05.html

Anyone else?
Martin--
----- Original Message -----
From: "Luo Yong" <[EMAIL PROTECTED]>
To: <users@tomcat.apache.org>
Sent: Tuesday, December 18, 2007 7:36 AM
Subject: JSP to HTML


> Hi all.
>
> Is there any way to produce HTML from a JSP file?
>
> I'm wrting a servlet which can get the HTML result of a JSP file in
> the same container.
>
> Is there any class or method can do this?
>
> Thanks.
>
> Sorry for that my English is poor.
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to