This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Struts and the fly likes Trying to understand how ONGL OgnlRuntime setProperty() works Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Trying to understand how ONGL OgnlRuntime setProperty() works" Watch "Trying to understand how ONGL OgnlRuntime setProperty() works" New topic
Author

Trying to understand how ONGL OgnlRuntime setProperty() works

Tony Evans
Ranch Hand

Joined: Jun 29, 2002
Posts: 573
I am trying to understand the basics behind OGNLRuntime.java setProperty, how it is called where it gets the objects the names an the values it is setting.

As I undersant it, it takes a context, a target of type object, a name which is a setter on that target an a value, to set apon that object.

I am trying to figure out, where do the objects, the values an the names come from. Is it of a JSP page params. Is it used to map the paramrs to setters on the action in struts.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Trying to understand how ONGL OgnlRuntime setProperty() works
 
Similar Threads
Pass object from a webservice client to the MessageContext
Automated Testing with HSQL & Hibernate
ognl.OgnlException: target is null for setProperty(null, "preventCache", [Ljava.lang.String;@6dc5f0b
JNDI error message
Database errors and Hibernate