A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
The Java EE 7 Tutorial Volume 1 or Volume 2
this week in the
jQuery UI in Action
Making page without using ActionForm ( Bean Class )
Joined: Mar 29, 2006
Jun 19, 2006 01:39:00
i wish to make a page using Struts and the thing i like that , i dont want to use <form-bean> in that, means i dont want to use ActionForm .Please tell me the way through which i can achieve that.
Joined: Mar 02, 2005
Jun 19, 2006 03:44:00
<action path="/<have some path name>" type="<your action classname with package structure>" scope="request"/>
This much entry different in struts-config file
Then all others as usual
Joined: Feb 08, 2006
Jun 19, 2006 12:21:00
Like vidya said...I think...just leave off the name attribute from your action mapping definition in struts-config. In this case the ActionForm parameter to your execute method will be null.
It is sorta covered in the
JavaRanch Style Guide
subject: Making page without using ActionForm ( Bean Class )
Iterating over DynaActionForm
Handling data carry between different pages - Design handliing.
html taglib struts
problem in forms..
problem with registration page
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014