aspose file tools*
The moose likes Struts and the fly likes how to get the setter and getter value in strut2 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of JavaScript Promises Essentials this week in the JavaScript forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "how to get the setter and getter value in strut2" Watch "how to get the setter and getter value in strut2" New topic
Author

how to get the setter and getter value in strut2

pankaj semwal
Ranch Hand

Joined: Oct 07, 2008
Posts: 301
Hi,
I am using strut2.

In my action class i generate the setter and generate method of a variable.

How can i get that value in the jsp page of that value.

Please help

Thanks
Ankit Garg
Sheriff

Joined: Aug 03, 2008
Posts: 9311
    
  17

Well if there is a javabean property in your action class, then it will directly go into the value stack and you can use it using the struts tag




SCJP 6 | SCWCD 5 | Javaranch SCJP FAQ | SCWCD Links
pankaj semwal
Ranch Hand

Joined: Oct 07, 2008
Posts: 301
Hi Ankit ,

I try this but did not work.

Thanks
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Action has:JSP has:
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to get the setter and getter value in strut2