Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Struts.xml [struts2] invocking a method inside action

 
biny panackal
Ranch Hand
Posts: 72
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I had listed the part of struts.xml file using which i am executing the giveAnswer method in my action class.




I got the setter and getter method in the Action class GetAnswerConversations. But when i am accessing the value i am getting null . Why it happends
 
Ankit Garg
Sheriff
Posts: 9521
22
Android Google Web Toolkit Hibernate IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Biny can you elaborate a bit more what you are trying to say!! Are you trying to say that the properties in the GetAnswerConversations action are not getting set with the request parameters??
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic