You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Propes, Barry L" <ba...@citigroup.com> on 2006/08/01 16:26:57 UTC
RE: where can I find the rule about how to translate JSP to servlet jave?
the JSPs (at runtime) automatically create a servlet in the work directory. Is that what you're asking?
-----Original Message-----
From: Peng Li [mailto:lipeng360@gmail.com]
Sent: Friday, July 28, 2006 7:55 PM
To: users@tomcat.apache.org
Subject: where can I find the rule about how to translate JSP to servlet
jave?
Hi
in tomcat, the jsp is translated to java, and then compiled to class. does
anyone know where can i find the rule about how to do the translation?
appreciate any help
cheers
Peng
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: where can I find the rule about how to translate JSP to servlet jave?
Posted by Lung Chan <fa...@gmail.com>.
usually every line that's not scriplet is translated into a "println"
and the scriptlet, which is <% .... %> is the java code
Now for the EL(expression languages) that I don't know, you have
to download the jsp 2.0 spec, it's on the Sun's site
On 8/11/06, Peng Li <li...@gmail.com> wrote:
>
> HI
> Thank you very much for your reply, yep, i know that, but i just wonder
> how
> the jasper do this translation?
>
> cheers
>
> Peng
>
>
> 2006/8/1, Propes, Barry L <ba...@citigroup.com>:
> >
> > the JSPs (at runtime) automatically create a servlet in the work
> > directory. Is that what you're asking?
> >
> > -----Original Message-----
> > From: Peng Li [mailto:lipeng360@gmail.com]
> > Sent: Friday, July 28, 2006 7:55 PM
> > To: users@tomcat.apache.org
> > Subject: where can I find the rule about how to translate JSP to servlet
> > jave?
> >
> >
> > Hi
> > in tomcat, the jsp is translated to java, and then compiled to class.
> does
> > anyone know where can i find the rule about how to do the translation?
> >
> > appreciate any help
> > cheers
> >
> > Peng
> >
> > ---------------------------------------------------------------------
> > To start a new topic, e-mail: users@tomcat.apache.org
> > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> > For additional commands, e-mail: users-help@tomcat.apache.org
> >
> >
>
>
Re: where can I find the rule about how to translate JSP to servlet jave?
Posted by Peng Li <li...@gmail.com>.
HI
Thank you very much for your reply, yep, i know that, but i just wonder how
the jasper do this translation?
cheers
Peng
2006/8/1, Propes, Barry L <ba...@citigroup.com>:
>
> the JSPs (at runtime) automatically create a servlet in the work
> directory. Is that what you're asking?
>
> -----Original Message-----
> From: Peng Li [mailto:lipeng360@gmail.com]
> Sent: Friday, July 28, 2006 7:55 PM
> To: users@tomcat.apache.org
> Subject: where can I find the rule about how to translate JSP to servlet
> jave?
>
>
> Hi
> in tomcat, the jsp is translated to java, and then compiled to class. does
> anyone know where can i find the rule about how to do the translation?
>
> appreciate any help
> cheers
>
> Peng
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>