Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

includeProperties in Json struts2 plugin

 
Shak Smith
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

I'm using the following to retrieve the bean in json.

But it is not retrieving all the properties of the user bean (like id, firstName, etc). Do I have to do something else for achieving this??
When I use <param name="root">user</param> then it works but I can't use the "excludeProperties" param
Please help!!
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Without knowing anything else, it's impossible to help. Please include the rest of the action configuration and possibly the bean source.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic