On Dec 19, 2007 12:43 AM, Hassan Schroeder <[EMAIL PROTECTED]> wrote:
> On Dec 18, 2007 8:27 AM, Luo Yong <[EMAIL PROTECTED]> wrote:
> > In fact, I'm implementing a new web development framework. JSP tag
> > must not be supported in the framework and the web page cannot contain
> > any java code. s
On Dec 18, 2007 8:27 AM, Luo Yong <[EMAIL PROTECTED]> wrote:
> In fact, I'm implementing a new web development framework. JSP tag
> must not be supported in the framework and the web page cannot contain
> any java code. so i must analyse the jsp page within a servlet and
> expand it with web compon
In fact, I'm implementing a new web development framework. JSP tag
must not be supported in the framework and the web page cannot contain
any java code. so i must analyse the jsp page within a servlet and
expand it with web component attribute(like the Tapestry way). I want
to embed velocity suppor
://www.oreilly.com/catalog/javaxslt/chapter/ch05.html
Anyone else?
Martin--
- Original Message -
From: "Luo Yong" <[EMAIL PROTECTED]>
To:
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
On Dec 18, 2007 4:36 AM, Luo Yong <[EMAIL PROTECTED]> wrote:
> Is there any way to produce HTML from a JSP file?
JSPs produce HTML by default :-)
And usually a servlet is used to populate values for a JSP -- the "View"
in MVC -- rather than the other way around.
FWIW,
--
Hassan Schroeder ---
How about servletContext.getRequestDispatcher( path ).include( req, resp
)? Seems like it should do what you are asking.
--David
Luo Yong wrote:
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.
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.
--