Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

what is the difference between Servlet and JSP?Advantage of
JSP over Servelt?Any concept present in JSP which we cant
implement in Servlet?

Answer Posted / aarti

servlet Jsp
1
servlets are java classes jsp is not
2
consist of an html file
for static content &java file contains java code
for dynamic content embeded directly to
in an html page by
using special tags.

Is This Answer Correct ?    67 Yes 65 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How does Cookies work in Servlets?

1118


What do you mean by singlethreadmodel interface?

994


Which method of the httpservletrequest object is used?

1014


Why do we have servlet listeners?

1024


Hello, My project requirement is like I need to create a web page using MVC pattern. I hava a bean class, jsp page, servlet, service and dao. My jsp has two fields. One is dropdown list. The option values has to get populated from the database table. The other one is a text box and its value has to come from database table. As of now I have defined the fields in bean class, got the values from database using arraylists in dao class and I called this from service class. Can anyone please tell me the workflow of how the servlet will get this arraylist and populate the arraylist values as dropdown options in jsp page? Also I would like to know the role of bean class in MVC pattern? Thanks in advance!

2265


Explain the difference between jsp and servlet?

1004


Explain the servlet context.

1065


Why doesn’t a servlet include main()?

984


What is a servlet context object?

1092


Elucidate servlet attributes and its scope?

942


Write a hello world program using servlets.

1012


Explain servlet.

994


What is the use of send redirect () method?

1023


How do we call one servlet from another servlet?

980


What is difference between get and post method?

1005