Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Struts -- Action class

 
kri shan
Ranch Hand
Posts: 1467
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 6450
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 354
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Action can be called with or without form submission.
 
kri shan
Ranch Hand
Posts: 1467
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How Action called without form submission ?
 
Marc Peabody
pie sneak
Sheriff
Posts: 4727
Mac Ruby VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic