Despite the solutions presented here I think JSPs should do stuff
like PHP does it (much easier than having to install filters, seems
kind of silly to install a filter just to remove whitespace). Right
now I am doing the following, which is not great either:
<%--
--%><%--
--%><%--
--%><
Lukas Bradley wrote:
Many tags use ${ } to embed parsable or variable data within tags. What is
the difference between $ { } and <%= %> ?
$(...} is for an Expression Language (EL) expression, a simple language
defined by the JSTL 1.0 specification and now being incorporated in the
JSP 2.0 specifi
Many tags use ${ } to embed parsable or variable data within tags. What is
the difference between $ { } and <%= %> ?
Lukas
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi Eric,
Thanks for the links to these. I wasn't aware of
either.
Marty Hall's "More Servlets and JSPs" has a nice
chapter on filters. I went through that to get the
source that I'm running. It was a fine learning
experience for me.
But perhaps the stuff you're citing is more
bulletproof.
I was going to program some Servlet filters when I saw the following:
http://www.servletsuite.com/servlets/trimflt.htm
http://www.servletsuite.com/servlets/gzipflt.htm
This might do all you ever wished for :-)
I'll install it here and keep you posted...
Best regards,
Eric
-Original Message-
Hi Martin
Thanks for the answer. However, your solution relies on JSTL alone, and this
works for me without any problems (see my code).
What doesn't work is setting a resource bundle with my Java class, without
having to set the bundle in the JSP.
Best regards,
Eric
-Original Message-
Fr