struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sarah Farrell <sfarrel...@mindspring.com>
Subject Re: help: <%>.. how do i convince them to learn JSP?
Date Tue, 12 Feb 2002 03:48:28 GMT
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>


Mime
View raw message