I am new to Struts2 and would want to understand how exactly does it work? Basically how does it read from the URL, map it or forward the request, etc.
It would be great if you could provide a simple example as well.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
It is hard to explain it in a few lines but it is web programing so, basically, each jsp has an action and a form, struts-config.xml ‘recieve’ this information and the action is executed (if you have a form, it has to be valid). You are redirected to the next jsp at the end of the action and so on.
This is a extremly simple approach, you better follow the oficial doc 😀