one more thing.... the purpose of my original post was also to flesh out in my
own mind the JSP "model 2" flow.+ performance with regards to HTML/code
separation....... My understanding is that in the JSP model 2, a servlet takes a
requests, goes to the database to fetch some rows, encapsulates them in a bean
and then somehow calls a JSP page which uses macro template language to format
the bean into html......
compare this to a servlet reading in a template at init time (Once), and parsing
the macro variables/constructs (Once)..... and then anytime it gets a request
and fetches DB rows, it simply does variable substitution on the template and
outputs it....
Please enlighten me...
Keith
-----Original Message-----
From: Rick Sanders <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Monday, March 15, 1999 6:53 PM
Subject: Re: follow up: What is so great about JSP?
>> The tutorial says the dexios templates are compiled. I didn't read much
>> further than that. If it's the compilation you're worried about, jsp is
>> supposed to do the compilation only once for each page (until the a page
>> is modified). I don't think this would take long.
>
>Maybe I'm mistaken, but I was under the impression that the
>compilation of pages is supposed to benefit performance. Compiling
>each page once means that there isn't some servlet parsing
>HTML pages for every request. I'm still learning the technical
>side of servlets/JSP, but without page compilations, a servlet
>would have to interpret each page and use the Reflection API to
>interpret each page. This presumably would be slower than
>just running a pre-compiled servlet that knows how to handle one
>task.
>
>Rick Sanders
>
>===========================================================================
>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".