Meaningless Drivel is fun!*
The moose likes Struts and the fly likes Struts.xml [struts2] invocking a method inside action Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts.xml [struts2] invocking a method inside action" Watch "Struts.xml [struts2] invocking a method inside action" New topic
Author

Struts.xml [struts2] invocking a method inside action

biny panackal
Ranch Hand

Joined: Apr 12, 2007
Posts: 72
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

Biny Balan
binypanackal@gmail.com
Ankit Garg
Sheriff

Joined: Aug 03, 2008
Posts: 9291
    
  17

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??


SCJP 6 | SCWCD 5 | Javaranch SCJP FAQ | SCWCD Links
 
wood burning stoves
 
subject: Struts.xml [struts2] invocking a method inside action
 
Similar Threads
Invoking a simple action generates error
Action code reuse
Struts 2 autocompleter not populating from database
Struts2 and Spring integration
execute method of ActionSupport Class