This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts  -- Action class " Watch "Struts  -- Action class " New topic
Author

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
Sheriff

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="http://www.luckycouple.com" target="_blank" rel="nofollow">luckycouple.com</a>
kri shan
Ranch Hand

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

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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
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 ?