File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes Struts  -- Action class 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 "Struts  -- Action class " Watch "Struts  -- Action class " New topic

Struts -- Action class

kri shan
Ranch Hand

Joined: Apr 08, 2004
Posts: 1371
Where Action class is located as per Struts architectural diagram ? Is it between Controller and Model?
When Action class is called? Whether during form submission?
Jason Menard

Joined: Nov 09, 2000
Posts: 6450
The Action class is considered part of the controller.

The basic flow of a Struts app:

User makes a request -> ActionServlet -> RequestProcessor -> Action
alan do
Ranch Hand

Joined: Apr 14, 2005
Posts: 354
Action can be called with or without form submission.

-/a<br />certified slacker...yes, my last name is 'do' - <a href="" target="_blank" rel="nofollow"></a>
kri shan
Ranch Hand

Joined: Apr 08, 2004
Posts: 1371
How Action called without form submission ?
Marc Peabody
pie sneak

Joined: Feb 05, 2003
Posts: 4727

Originally posted by kri shan:
How Action called without form submission ?

Type the url in your browser's Address bar and hit "Enter" or click on link that points to the url.

A good workman is known by his tools.
subject: Struts -- Action class
Similar Threads
How to pass value from .java to .jsp in struts.
Help me writing an ACTION class in eclipse
Need Struts Navigation
Is Struts Action class Thread Safe?
where I am going to put the client code ?