On Sun, 24 Nov 2002, Peter Lin wrote:

> Date: Sun, 24 Nov 2002 18:08:00 -0800 (PST)
> From: Peter Lin <[EMAIL PROTECTED]>
> Reply-To: Tomcat Developers List <[EMAIL PROTECTED]>
> To: Tomcat Developers List <[EMAIL PROTECTED]>
> Subject: RE: [Jasper2] framework for tag optimization
>
>
>
> Yeah, I actually use that in some places, but it is a bit harder to read with pages 
>that have a lot of tags. Actually, the whole page is tags with very little HTML and 
>everything that is text is in resource bundles.
>
> Using that syntax doesn't really bother in when used sparsely, but with hunderds of 
>JSP, it gets a bit gruesome as time goes on and pages change.
>
>  "Craig R. McClanahan" <[EMAIL PROTECTED]> wrote:
> > One textual approach to minimizing the extra newlines (I would
> > not recommend this -- they don't bother me, but they might bother
> > you):
>
> >  <c:choose><c:when>
> >  ...
> >  </c:when><c:when>
> >  ...
> >  </c:when><c:otherwise>
> >  ...
> >  </c:otherwise></c:choose>
> > Craig
>
> I almost prefer patching JSPC or writing a pre-processor for JSPC than
> use tricks to get around extra "\r\n".
>

You're free to make such a patch in your own version.  We can't do that to
the standard version because it would violate the JSP spec to eliminate
any template text (including the newlines).

> peter

Craig


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to