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