From: Chris Riesbeck on
On 7/28/2010 7:25 PM, Arne Vajh�j wrote:
>
> With newer versions:
>
> <li><c:out value="${item}" /></li>
>
> can even be written as:
>
> <li>${item}</li>

c:out will convert HTML special characters to entity code. ${item} by
itself does not. I've been bit by that several times when ${item} was a
string with < in it.
From: Chris Riesbeck on
On 7/28/2010 7:36 PM, Lew wrote:
>
> JSP isn't exactly a "template" framework as you might think of it, but
> close enough for now.

And once you understand JSP, it's not hard to move on to the zillion
template frameworks built on top of it.


> Chris Riesbeck wrote:
>>>
>>> Javaworld, IBM and Sun/Oracle are reliable sources.
>
> IBM Developerworks is very worthy, too.

Yes, that's the part of IBM I meant. A lot of neat technology and some
very well-written articles have come out of there.
From: pmz on
Dear Friends (ain't Group ;),

I'm really surprised about your huge response for my problems. That's
really kind. I'll analyze suggestions you've mentioned above and I'll
try to fetch the best solution for my application.

I've discovered that such enthusiasm was not found by me in the C/C++
(or plenty more devlangs) sections of google groups, that's weird,
isn't it?
Now I'm pretty sure that I may share any of my problems here and they
won't stay without an answer. While I'm exploring the Java world,
which in fact gives me a lot of fun, that's a big bonus. There is no
hurry in my project, so I'll try to do my best and use your advices to
build the perfect (mostly) one.

Once again, I'd like to thank all of you for help - if any problems
occur, I won't hesitate writing'em here.

All the best,
Przemek M. Zawada
From: Lew on
pmz wrote:
> I've discovered that such enthusiasm was not found by me in the C/C++
> (or plenty more devlangs) sections of google groups, that's weird,
> isn't it?
>

This isn't a "section of Google Groups" (despite that I'm using GG to
post this response right now). Google Groups merely echoes the Usenet
forum, and really isn't even the best way to access the forum. GG
echoes tons of spam and other garbage that other newsgroup servers
filter, and the browser has no capability to filter the spam that does
get through. Google for "newsgroup reader", or use Mozilla
Thunderbird as a minimally acceptable client. You will need to
connect to a newsgroup server - like a mail server but specifically
for news feeds - to get the good experience.

> Now I'm pretty sure that I may share any of my problems here and they
> won't stay without an answer.
>

Of course you will have to deal with posters like me who reply
enthusiastically but not always kindly, humbly or diplomatically.
Bear in mind that sarcasm or rhetorical tricks don't necessarily
indicate unhelpful responses; sometimes one is cruel to be kind. To
pick one of the most popular examples, the initialism "GIYF", or
"Google Is Your Friend", is dismissive in tone but embodies the
extremely empowering advice to use the search tools available to find
answers rather than ask stupid questions. Build a man a fire and you
warm him for an hour. Set a man on fire and you warm him for the rest
of his life.

Kidding aside, most of us most of the time mean to help whether or not
we add attitude as a bonus feature. Also, Usenet is a discussion
medium, not a help desk. You usually can get good advice, but much of
the joy comes from the spirited discussion and diversity of opinions
people express.

--
Lew
From: Tim Slattery on
Chris Riesbeck <Chris.Riesbeck(a)gmail.com> wrote:

>On 7/28/2010 7:25 PM, Arne Vajh�j wrote:
>>
>> With newer versions:
>>
>> <li><c:out value="${item}" /></li>
>>
>> can even be written as:
>>
>> <li>${item}</li>
>
>c:out will convert HTML special characters to entity code.

It will if you use escapeXML:

<c:out value="${item}" escapeXml="true" />

>${item} by itself does not.

No, but using the JSTL escapeXml function does:

${fn:escapeXml(item)}

--
Tim Slattery
Slattery_T(a)bls.gov
http://members.cox.net/slatteryt