This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Struts and the fly likes JSTL ${} not evaluating Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "JSTL ${} not evaluating" Watch "JSTL ${} not evaluating" New topic

JSTL ${} not evaluating

Dan Cosio

Joined: Jul 05, 2012
Posts: 2
Im migrating to from jboss 4 to tomcat7. I've also upgraded to struts 2.3.4

My issue is <c:out value="${myValue}"/> isn't returning a value any longer.. myValue is a getter on a struts2 action.. If I set the value in the action using request.setAttribute(...) I can get the value with <c:out/>. This seem to only be an issue with the struts 2 action properties..

Any help would be greatly appreciated..

Dan Cosio

Joined: Jul 05, 2012
Posts: 2
I caused my own problem. Im also using spring security which is also new in my app.. I had originally set up my filtedispatcher

and I just removed the REQUEST/FORWARD parts. I think these kept the intercepters from executing...
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 60761

Thanks for posting back with your findings!

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: JSTL ${} not evaluating
Similar Threads
parameter and scope interceptor
Spring security: pass additional parameter when performing login
JSTL - c:out escapeXml
Javascript and "value=" attribute of input tag.