Good day. Having read about Model 2 architecture I got confused about some points.
For example my controller servlet url-pattern is *.perform
.
- How do I access the database and put the bean into the session if my jsp url does not correspond the servlet url-pattern?
- If I ve done the action, why do I use forward? The url remains the same
actionName.perform
- How should be the app designed for the servlet to process every page and forward to the corresponding JSP without processing it again?