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 OGNL fixing precedence with () 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 "OGNL fixing precedence with ()" Watch "OGNL fixing precedence with ()" New topic
Author

OGNL fixing precedence with ()

Tudor Raneti
Ranch Hand

Joined: Nov 29, 2009
Posts: 145
I need to do something like this:

except the OGNL expression doesn't seem to work, what is the proper syntax?
Ankit Garg
Sheriff

Joined: Aug 03, 2008
Posts: 9291
    
  17

I cant say about OGNL, but you can do this same thing using JSTL and EL


SCJP 6 | SCWCD 5 | Javaranch SCJP FAQ | SCWCD Links
 
 
subject: OGNL fixing precedence with ()
 
Similar Threads
Null Point Exception
Passing Action Variables to the Freemarker in ActionMessages through the properties file.
Struts OGNL how to acces vector elements
Ognl problem
fieldValue not working after upgrade to Struts 2.0.11