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

Answers were Sorted based on User's Feedback



what is the difference between servlets and jsp? ..

Answer / sanjay deorari

JSP is used mainly for presentation only. A JSP can only be
HttpServlet that means the only supported protocol in JSP is
HTTP. But a servlet can support any protocol like HTTP,FTP,
SMTP etc.

Is This Answer Correct ?    15 Yes 4 No

what is the difference between servlets and jsp? ..

Answer / j

in Servlet, presentation logic(HTML) is embedded in java
code (between out.println()). whereas in JSP, javacode is
embedded within HTML.

one more thing is while compilation, servlets will compile
and form .class file. whereas JSP will undergo a
translation phase. During which its converted into Servlet
first and the compiled to .class file.

Is This Answer Correct ?    13 Yes 4 No

Post New Answer

More J2EE Interview Questions

What are j2ee concepts?

0 Answers  


What is commit?

0 Answers  


What is the best java application server?

0 Answers  


There are 2 classes . Class A and Class B. In Class A i declared a variable in private. if we can access this private variable in Class B. If yes means , how we can access ?

7 Answers   HCL, Itx Centrics, Virtusa,


what is direct link to download swing ebook,applet,ejb,core java

0 Answers  


What is callback methods Component methods called by the container to notify the component of important events in its life cycle?

0 Answers  


i have to create an application with session.during that session a timer will be started & show the time in second upto the session expired.So that i can know how many time i in that session. Hint:-i m hinted that it will coded with javascript

4 Answers   L&T, Wipro,


What is javamail?

0 Answers  


What is java technology stack?

0 Answers  


Is j2ee a language or framework?

0 Answers  


What is jaxr provider?

0 Answers  


What is the difference between java and j2ee?

0 Answers  


Categories