This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes JSP and the fly likes why cannot Use Controler in JSP?Why we go for Controller in Servlets? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » JSP
Reply locked New topic
Author

why cannot Use Controler in JSP?Why we go for Controller in Servlets?

Ishrayansh Nath
Ranch Hand

Joined: Nov 05, 2004
Posts: 45
Hi,
I have small doubt.
In MVC,View Why We go for JSP.
Controller Why we go for Servlets.

why can not do exchage to use these two's?

both r doing similar functionalities.

what is reason give me brief details.

Regards
Shiryans Nath
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

Duplicate of:
http://www.coderanch.com/t/360463/Servlets/java/why-cannot-view-Servlets-Why

Shiryans,
Please do not post the same questions in multiple forums.
It wastes the time of those who would help you.


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: why cannot Use Controler in JSP?Why we go for Controller in Servlets?