This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Java Interview Guide and have Anthony DePalma on-line!
See this thread for details.
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes JSPs and the Controller Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "JSPs and the Controller" Watch "JSPs and the Controller" New topic

JSPs and the Controller

Dan Drillich
Ranch Hand

Joined: Jul 09, 2001
Posts: 1183
Good Day,

The J2EE pattern catalog shows the Front Controller in front of the View Helper which represents the JSP/Servlet. In Cade's diagrams the JSPs are in front of the controller. So, I'm a bit confused about the order of JSPs and the controller.

Any thoughts?


William Butler Yeats: All life is a preparation for something that probably will never happen. Unless you make it happen.
Chandramouli Ram
Ranch Hand

Joined: Mar 07, 2005
Posts: 65
Hi Dan,

What you're probably referring to is the J2EE pattern catalog on one side and the sequence diagrams depicted in Cade's book on the other side.

Here is my perspective: Look at the sequence diagram, say for the Front controller pattern. The first one on left would be the "Client". The JSP's in Cade's sequence diagrams actually stand for that. On submission, they present the data to the controller for processing.
[ June 21, 2006: Message edited by: Ram Chandramouli ]

Thanks & Regards,<br />Chandramouli Ram
I agree. Here's the link:
subject: JSPs and the Controller
It's not a secret anymore!