File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Struts.xml [struts2] invocking a method inside action
Joined: Apr 12, 2007
Mar 26, 2009 03:29:27
I had listed the part of struts.xml file using which i am executing the giveAnswer method in my action class.
<action name="giveAnswer" class="bean.GetAnswerConversations" method="giveAnswer">
I got the setter and getter method in the Action class
. But when i am accessing the value i am getting null . Why it happends
Joined: Aug 03, 2008
Mar 26, 2009 04:10:27
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
I agree. Here's the link:
subject: Struts.xml [struts2] invocking a method inside action
Struts 2 autocompleter not populating from database
Invoking a simple action generates error
Struts2 and Spring integration
execute method of ActionSupport Class
Action code reuse
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014