The Artima Developer Community
Sponsored Link

Java Buzz Forum
OGNL and Struts

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Lars Hoss

Posts: 21
Nickname: woeye
Registered: Jul, 2003

Lars Hoss is a programmer focusing on J2EE and Objective-C on MacOS X
OGNL and Struts Posted: Jul 5, 2003 5:07 PM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by Lars Hoss.
Original Post: OGNL and Struts
Feed Title: WoEyE's weblog
Feed URL: http://woeye.highteq.net/xml/weblog/woeye.rss
Feed Description: The personal weblog of WoEyE. Mostly about J2EE and MacOS X.
Latest Java Buzz Posts
Latest Java Buzz Posts by Lars Hoss
Latest Posts From WoEyE's weblog

Advertisement
Though I like JSTL I am sometimes missing the feature to call methods. Therefore I have played around a little bit with OGNL and Struts actions and I am very happy with the result. I have written a JSP tag that allows you to execute an OGNL expression. Furthermore I have extended my RequestProcessor once again. Now the action instance is visible to the OGNL tag as well. This allows me to call a method on the action from the OGNL tag! A sample JSP page might look like this:

 <ognl:property value="formatTime(#created)"/> 

Read: OGNL and Struts

Topic: And the t-shirt goes to... Previous Topic   Next Topic Topic: Benchmarks for Handsets-J2ME Games

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use