answersLogoWhite

0

Because JSPs are designed to take care of the View part of the MVC design patter and not the controller. You can have little or some amount of logic in it, but it is not designed/created with the idea of controlling the flow of control in a J2EE application.

User Avatar

Wiki User

14y ago

What else can I help you with?

Related Questions

What is a servlet?

Servlets are modules that extend request/response-oriented servers,such as Java enabled web servers. For example, a servlet might be responsible for taking data in an HTML order-entry form and applying the business logic used to update a company's order database. Servlets are to servers what applets are to browsers. Unlike applets, however, servlets have no graphical user interface. Usually, servlets are used along with HTML or jsp pages. These would display the data that the Servlet would provide them with. Servlets are a part of the Model View Controller or the MVC framework and represent the Controller.


Can you use jsp and servlets together?

Yes, JSP (JavaServer Pages) and Servlets can be used together in a web application. Servlets handle the business logic and processing of requests, while JSP is used to create the user interface and generate dynamic content. Servlets can interact with JSP pages to pass data and control the flow of the application.


What are the applications of servlets?

Servlet is a Server side component, a servlet is a small pluggable extension to the server and servlets are used to extend the functionality of the java enabled server.


Can Xbox 360 controller be used on ps2?

No it cannot because it can not be connected in any way


Why CGI is still used over servlets?

CGI is an outdated technology. Servelets are much more efficient and powerful when compared to the CGI technology. Hence, Servlets are more commonly used than CGI.


What is used more in industry servlets or jsp?

Both are equally used and equally important. They are both used in conjunction. An application usually has 1 or 2 servlets but has numerous JSPs. So, if we go by pure number, JSPs are more.


Is the JDK suitable for developing programs based on servlets in Java?

Yes. It is very suitable and in fact Servlets are based on the Java Technology and the Java Development Kit (JDK) is used for the same


Can i use a floppy disk in a zip drive?

No. Zip drives cannot read floppy disks, and cannot be used on a traditional floppy controller.


Can emery cloth be used on sander instead of paper?

It cannot be used on sander


Can joystick be used on gta san andreas?

yes in controller options instead of mouse n keyboard set joystick


Is a gutar hero 3 controller conpatible with gutar hero 4?

Yes. The new features on the GH:WT controller will be bypassed if you use the GH3 controller, but the game will work. There is a few achievements on the XBOX live that cannot be unlocked unless a GHWT controller is used though, same for trophies/PS3.


Why interval notation cannot be used to represent the set of atomic masses given?

Why interval, notation cannot be used to represent instead of atomic masses