• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

Clarrifications about global action, scope, types of action

 
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?
 
Ranch Hand
Posts: 2908
1
Spring Java 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.
 
I found a beautiful pie. And a tiny ad:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
    Bookmark Topic Watch Topic
  • New Topic