wood burning stoves 2.0*
The moose likes Struts and the fly likes regarding ActionForm Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "regarding ActionForm " Watch "regarding ActionForm " New topic
Author

regarding ActionForm

karthik mama
Ranch Hand

Joined: Aug 27, 2007
Posts: 34
Hi All,

can anyone please tell me where to put in my ActionForm class like will it be in the same directory as the Action classes?
please help me I'm new to struts.

Thanks
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

You can put it in whatever package you want--some people have a package for all their forms, some people have a package for each functional unit, some people do it yet other ways.
Dawn Charangat
Ranch Hand

Joined: Apr 26, 2007
Posts: 249
You may put it in any package you may wish.... The only catch is that you need to specify the full package name and class name in the struts-config.xml so that an object of actionform can be initialized and returned to your action class at runtime.

Dawn.
 
jQuery in Action, 2nd edition
 
subject: regarding ActionForm
 
Similar Threads
FileUploading in struts
Help on Drop Down
ActionForm,ActionMapping,ActionForward,Action
instance of ActionForm
Scope of ActionForm