Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Clarrifications about global action, scope, types of action

 
Thennam Pandian
Ranch Hand
Posts: 163
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2907
1
Java Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic