• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Struts basics understanding

 
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi everyone,
I'm new to struts. I have a doubt in entire flow of operation.
I will tell my entire understanding and request you to kindly modify wherever required.

In the program Hello world of any website what i have learnt is:::
web.xml file is used for configuration so The filter and the filter-mapping elements are
used to setup the Struts 2 FilterDispatcher.
The filter is mapped to the URL pattern "/*".
whenever any request of this sort comes the it will go application server(tomcat) will check the filter element and call struts.xml and do check for all the action
elements and then if it is fine then action class setter methods are invoked then execute() of Action class is invoked and finally as per the result element in struts.xml
the result.jsp page is being executed.

please tell me if my understanding o entire flow is correct or not..

thanks in advance
 
Bartender
Posts: 9626
16
Mac OS X Linux Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Have a look at this article and let us know if you have any questions.
reply
    Bookmark Topic Watch Topic
  • New Topic