A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Action class name configuration
Joined: Mar 30, 2010
Sep 09, 2012 07:48:13
Hi, i am new to
2 and the action class name is in lower class in .xml file while the original class name is different
<action name="loc-start-create" class="createLocationAction"
The action class name is CreateLocationAction here class name starts with Capital C but in configuration its small c. is it possible ?
Joined: Jul 23, 2008
Sep 09, 2012 18:13:19
Action class must match .it must be with the package like your class is in com folder then it must be come like com.createLocationAction.
Joined: Sep 29, 2008
Sep 10, 2012 08:33:50
It is most likely the action name is referring to a Spring bean, meaning the Spring plugin is being used.
I agree. Here's the link:
subject: Action class name configuration
How to use Struts 2 with JFreeChart?
struts1.1 and tomcat 5.5.27
Action configuration problem in Struts 2
Struts2 Iteator Tag with object in object
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015