Manas<br />Today If You are not Confused,You are just not thinking Clearly !<br />---------------------------------
Read about me at frankcarver.me ~ LinkedIn ~ Frank's PhD research
Jayson Falkner<br />[email protected]<br />Author of <a href="http://www.jspbook.com" target="_blank" rel="nofollow">Servlets and JavaServer Pages; the J2EE Web Tier</a>
Originally posted by Phil Chuang:
I guess I'm coming from the viewpoint where I'm using the controller more for application flow than mere URL->servlet flow. My current project is being designed such that there is one "controller" servlet per application. It has an instance of a POJO (Plain Old Java Object) controller, and based on params, it determines which workflow to call (more POJOs). Instead of having multiple servlets, I have one servlet and multiple POJOs. So my controller at the java application level and not the servlet level.
Read about me at frankcarver.me ~ LinkedIn ~ Frank's PhD research
Originally posted by Manas Ahlaad:
Why should a controller be a servlet , why not a JSP ? why is it mentioned in all the framesworks like Structs, MVC that servlet is controller.
please clarify
I'm not going to be a Rock Star. I'm going to be a LEGEND! --Freddie Mercury
Read about me at frankcarver.me ~ LinkedIn ~ Frank's PhD research
Originally posted by Gregg Bolinger:
I just like plain old Servlets used the way J2EE is designed. Take a request and forward it, or send a response. It doesn't get any simpler.
Originally posted by Kenneth Robinson:
BINGO
This, in a very small nutshell, is everything you need to know about the basics of web applications.
I could (and have) go on for hours about why I think so, but that is not what this thread is about.
Manas<br />Today If You are not Confused,You are just not thinking Clearly !<br />---------------------------------
It's just that putting any sort of business logic in a jsp is not the en vogue thing to do nowadays
A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
Read about me at frankcarver.me ~ LinkedIn ~ Frank's PhD research
Read about me at frankcarver.me ~ LinkedIn ~ Frank's PhD research