struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Arron Bates <arr...@pacific.net.au>
Subject Re: help: <%>.. how do i convince them to learn JSP?
Date Tue, 12 Feb 2002 15:48:06 GMT
Just finished rolling a "100 input elements on a page" app. Performance 
is not an issue. Once the JSP is compiled to its class, it just hums 
along very happily.

Arron.

Bob Williams wrote:

>I have no problem being convinced that tags should be used for generating
>complex items on a web page.  The one concern I do have, relative to using
>tags, is the extra processing required to generate simple things.  I have
>seen pages in industrial environments where the page may have 50-100
>elements displayed (and no this is not a problem with the design this is a
>real application requirement!).  Using a tag to generate labels and text
>input boxes seems like it would add a significant compute load on a server
>that is servicing 100's of people.  The same situation applies when you are
>dealing with pages with fewer elements, but are being served up to 1000's or
>10,000's of users.
>
>Does anyone have experience about computing resources required by tags in
>these types of scenarios?
>
>bob
>----- Original Message -----
>From: "Sarah Farrell" <sfarrell24@mindspring.com>
>To: "Struts Users Mailing List" <struts-user@jakarta.apache.org>
>Sent: Monday, February 11, 2002 9:48 PM
>Subject: Re: help: <%>.. how do i convince them to learn JSP?
>
>
>>Michael,
>>
>>Here's the best one I could find.
>>
>http://java.sun.com/blueprints/guidelines/designing_enterprise_applications/
>
>>web_tier/qanda/index.html
>>
>>There are some other ones on java.sun.com if you search for "JSP
>>
>presentation
>
>>logic separate".
>>
>>Here's another one:
>>http://java.sun.com/products/jsp/
>>
>>
>>
>>P.S. Please don't cross-post to multiple jakarta lists.
>>
>>
>>
>>At 07:34 PM 2/11/2002 -0800, you wrote:
>>
>>>long before server pages or servlets existed i was
>>>writing these C++ template based systems with CGI
>>>so i could do my best to separate content generation from programming
>>>logic...
>>>
>>>i'm a consultant and this company made me lead on my first JSP/Servlet
>>>
>based
>
>>>project,
>>>i was really excited to get involved with JSP tag libraries.
>>>
>>>but when i got into the code base IT'S ALL .jsp files with
>>>TONS of Java scriptlets!  it's nasty.  if/else blocks several hundred
>>>
>lines
>
>>>long.
>>>the developer i took this over from
>>>thinks there is no reason to do it any other way.  tags?  why use tags?
>>>
>>>i am asking for input/references on why you want to keep the scriptlets
>>>
><%>
>
>>></%>
>>>out of the JSP files.  every time i try to make a point-- maybe
>>>i'm just not being eloquent enough...
>>>
>>>on another note: is it really model 2 if a JSP is processing the request?
>>>i don't think it is, even if your entire JSP is just some java code
>>>wrapped with a scriptlet tag..  (yuk).
>>>
>>>thanks for input.
>>>--Michael
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>--
>>>To unsubscribe, e-mail:
>>>
><mailto:struts-user-unsubscribe@jakarta.apache.org>
>
>>>For additional commands, e-mail:
>>>
><mailto:struts-user-help@jakarta.apache.org>
>
>>
>>--
>>To unsubscribe, e-mail:
>>
><mailto:struts-user-unsubscribe@jakarta.apache.org>
>
>>For additional commands, e-mail:
>>
><mailto:struts-user-help@jakarta.apache.org>
>
>
>
>--
>To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
>For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>
>
>



--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message