Prepare for your Next Interview
This is a discussion on Use of Servlet and JSP within the JSP forums, part of the Web Development category; Where we will use Servlet and JSP in J2EE projects? For what purpose we are using that?...
|
|||
|
Use of Servlet and JSP
Where we will use Servlet and JSP in J2EE projects?
For what purpose we are using that? |
| The Following 2 Users Say Thank You to sharmi3583srini For This Useful Post: | ||
| Sponsored Links |
|
|||
|
Re: Use of Servlet and JSP
jese is a stand alone application where as j2ee is web based application
we can have client server intereaction jsp is mostly for front poage design and client side validation but servlet is for serverside validation |
|
|||
|
Re: Use of Servlet and JSP
In J2ee,
In general, Servlet and jsp is used for web based apllications in server side programming purpose. Jsp is using as Large View purpose.mainly to develope the Presentaions or frond apllication purpose. Servlet is also doing same thing , and in case of Struts Framework, Servlet acts as controller between the request comming from the browser and Server. |
|
|||
|
Re: Use of Servlet and JSP
J2ee is used for web application development, it follows MVC architecture.
Jsp is used a View Servlets are used for Controller. After struts framework has introduced, most the companies are using Struts frameworks only, advantages of using struts is, it has built in Controller, so need write any controller functionality need to write Action classes and Form beans |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Servlet context and Servlet config | narenderreddy | Java | 4 | 06-26-2008 07:54 AM |
| servlet - struts | psuresh1982 | Java | 3 | 05-23-2008 12:06 AM |
| servlet | nitin.pathak05 | Java | 1 | 10-24-2007 12:11 AM |
| Servlet.xml | venu.katta | Java | 1 | 10-22-2007 07:42 AM |
| About Servlet Filter... | psuresh1982 | Java | 1 | 06-16-2007 04:41 PM |