Best practices of implementation of front controller using java servlets?

You may be confusing servlets with filters. With servlet, there will be no infinite loop. Your JSP pages will always be mapped via exact patterns, either explicitly (if they were precompiled) or implicitly (via JSP file path relative to webapp root if they weren't precompiled).

What this means is your "articles/main. Jsp" will effectively be a servlet with the following mapping.

Since you are using MVC, you should let the client (i.e. A browser) access to the view, the jsp in this case. The controller servlet should be called from the view when an action is performed on it.

After processing the action in the controller, you redirect to the next view (which could be the same that started the action.).

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions