File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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: 579
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