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
Win a copy of
Murach's Java Servlets and JSP
this week in the
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.
I agree. Here's the link:
subject: Making page without using ActionForm ( Bean Class )
html taglib struts
Iterating over DynaActionForm
problem with registration page
problem in forms..
Handling data carry between different pages - Design handliing.
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014