aspose file tools*
The moose likes Struts and the fly likes Making page without using ActionForm ( Bean Class ) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Making page without using ActionForm ( Bean Class )" Watch "Making page without using ActionForm ( Bean Class )" New topic
Author

Making page without using ActionForm ( Bean Class )

ram gaurav
Ranch Hand

Joined: Mar 29, 2006
Posts: 208
Hi ,

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.

Thanks
Regards
Gaurav
vidya sagar
Ranch Hand

Joined: Mar 02, 2005
Posts: 580
<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
Brent Sterling
Ranch Hand

Joined: Feb 08, 2006
Posts: 948
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.

- Brent
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Making page without using ActionForm ( Bean Class )