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 / r b arumugam

Java Servlet is a Java File and is converted into .class
file. If there is any changes in Servlet we must compile
once again.
JSP is a HTML file and java coding is embedded into it. The
JSP page is automatically compiled. There is NO deplyment
descriptor file in JSP as web.xml

Servlet is fully java coding and JSP is a collection of
HTML,JSPtag,JSTL

Is This Answer Correct ?    8 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the structure of the http response

1115


Why session tracking is needed?

976


Difference between forward() method and sendredirect() method ?

981


What is http servlet in java?

1011


How do cookies work in servlets?

995


Which event is fired at the time of setting, getting or removing attribute from application scope?

1078


What do you mean by httpservlet and how it is different from the genericservlet?

988


What is the disadvantage of cookies?

949


What is the effective way to make sure all the servlets are accessible only when user has a valid session?

1003


Is java servlet still used?

994


How are filters?

992


Which http method is said to be non-idempotent and idempotent?

1000


What is servlet used for?

1092


How can a servlet be used to generate plain text instead of html?

902


How can we implement a jsp page?

1075