Why servlet is used as controller ?not JSP?i want complete Explation?

Questions by chandrareddy.g

Showing Answers 1 - 4 of 4 Answers

Digvijay

  • Oct 14th, 2006
 

Because ultimatly the JSp will be also converted into Servlet. and we are having more control in servlet than JSp

  Was this answer useful?  Yes

santhosh

  • Nov 3rd, 2006
 

1.Because in realworld we have to use jsp without java code ie scriptless,so if we use it as a controller in some times for connectionslike jdbc we need some java code2.Generally in jsp the design of your page changes frequently so if we use this jsp as view the changes will effect dynamically eithout reloading the application

  Was this answer useful?  Yes

Guest

  • Nov 6th, 2006
 

According to Incustry standard jsp must be scriptless if u want to access model it require java code.

  Was this answer useful?  Yes

Shahar

  • Mar 26th, 2007
 

The purpose of JSP's is to present the required information to the client for his request. And more over JSP page's whould needs to develop by the web developers who may not be knowing java coding. ofcourse even we can make the JSP as a controller based on the application complexity.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions