Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Struts 2 »

S2 + Spring 2.0 + JSTL question

Musachy Barroso

2006-12-20

Replies:

I'm using S2 with Spring 2.0 as the object factory, and I have an action
with a property "name".On my jsp I have:

<p>JSTL: <c:out value="${name}"/></p>
<p>S2: <s:property value="name"/></p>

Here is the weird part, when the page loads <c:out value="${name}"/>
doesn't display anything, but <s:property value="name"/> does, if I keep
hitting "refresh", sometimes the JSTL one displays the property. After 3
hours, I need some fresh eyes to look at this :)

thanks
musachy

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.