File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes simple question about formbean Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "simple question about formbean" Watch "simple question about formbean" New topic
Author

simple question about formbean

thomas wilson
Greenhorn

Joined: Sep 21, 2004
Posts: 24
I am new to Struts, so this is a rather simple question. I see that some action have formbean stated inside the action tag and some do not, even though the data also seem buffered somewhere for the latter. Please explain.

1) <action
path="/xxx"
parameter="method"
name="xxx"
input="xxx.xxx.xxx"
scope="request"
validate="false"
type="xxx.xxx.xxx">
<forward name="success" path="xxx.xxx.xxx" redirect="true"/>
</action>

2) <action
path="/xxx"
parameter="xx"
type="xxx.xxx.xxx">
<forward name="success" path="xxx.xxx.xxx" redirect="true"/>
</action>
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: simple question about formbean
 
Similar Threads
Redisplaying a page after validation due to validation errors?
Struts-config.xml
cut&paste changes to DispatchAction fail
Struts Cancel Button submits the form
any idea please