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 jsp and servlet?

Answer Posted / namita

Jsp is defined as Java server pages.
Jsp and servlet both are server side programming language.
the diffence in b/w these two is Jsp is used for
presentation part and servlet is use to give the business
logic.
Servlet act as redirector also. it redirect your page as
per the business logic.

anyhow Jsp are compiled to servlet but Jsp comes in to
picture to separate out the presentation logic from the
servlet to make it loosely coupled.

Is This Answer Correct ?    10 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a wrapper method?

1099


What is a local block?

1141


How do you reverse a string in java?

1129


What is the difference between the boolean & operator and the && operator in java programming?

1045


what is comparable and comparator interface?

996


Is Java a dying language?

1084


What is bean? Where it can be used?

1087


Explain notify() method of object class ?

1105


What happens if an exception is not handled in a program?

1102


What is a line break example?

1000


What is the difference between processes and threads?

1054


Explain about automatic type conversion in java?

1050


Is a class an object?

1005


How do you declare a variable?

1094


Which method you will use to create a new file to store some log data. Each time a new log entry is necessary, write string to the file in java ?

1161