wood burning stoves 2.0*
The moose likes Struts and the fly likes Clarrifications about global action, scope, types of action Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Clarrifications about global action, scope, types of action " Watch "Clarrifications about global action, scope, types of action " New topic
Author

Clarrifications about global action, scope, types of action

Thennam Pandian
Ranch Hand

Joined: Oct 11, 2005
Posts: 163
Hi all,

I am new to struts. i need the following clarrifications.

1. how can a declare a global action in struts?

2. What is the scope of ActionForm in struts? ( give me all scops in struts)

3. What are the types of Actions available in struts?
Sagar Rohankar
Ranch Hand

Joined: Feb 19, 2008
Posts: 2902
    
    1

1. how can a declare a global action in struts?

In Struts 1 there is no tag which map any global action , whenever you call action its get map in struts-config.xml , and respective Action class gets called . In Struts 2, you can map any unmatched action to a JSP page like this :


2. What is the scope of ActionForm in struts? ( give me all scops in struts)

The scope is request (Not sure about this )

3. What are the types of Actions available in struts?

You can find the informayion about Action classes here.

Hope this Help.


[LEARNING bLOG] | [Freelance Web Designer] | [and "Rohan" is part of my surname]
 
Consider Paul's rocket mass heater.
 
subject: Clarrifications about global action, scope, types of action
 
Similar Threads
Clarrifications on doPut, doDelete
Any good resources about design of XML
Clarrifications about ResultSet object?
Clarrifications on EL function
Questions about Exception handling