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

you are to choose between two procedures,both of which copute the minimum value in an array of integers.one procedure returns the smallest integer if its array argument is empty. the other requires a nonempty array.which procedure should you choose and why?

0 Answers  


What is java api for xml processing (jaxp)?

0 Answers  


What is awt panel java?

0 Answers  


How java is reliable?

0 Answers  


What is java j2ee developer?

0 Answers  






What is data?

0 Answers  


What are web technologies in java?

0 Answers  


Is java 100 percent pure object oriented?

0 Answers  


What is context root?

0 Answers  


What is javamail?

0 Answers  


CANDOR Services, a leading provider of next-generation staffing services, draws from unparalleled resources and expertise to offer you innovative, quality workforce solutions. We have openings for "J2EE ARCHITECT" with one of our clients. Client is CMM Level 5 company. Location : Hyderabad Roles A J2EE Architect with expertise in Web Architecture (covering Spring MVC, AOP, Webflow, Struts, Tiles, Hibernate, JAAS, Web Application Performance Turning & Measurement) as part of Solutions Architecture Group: Position involves in providing architectural vision, conceptualize and provide architectural approaches, create models and specifications, and validating the architecture against requirements and assumptions. Also involves in providing oversight over ongoing projects as a reviewer and auditor Educational Requirements A minimum of BS or MS (MS preferred) in Computer Science or Engineering or equivalent experience in the IT industry. Skill Sets Overall 8-10 Years of experience in IT industry with 3-4 Years of experience in Service industry Technology Skills Java, J2EE, MVC Frameworks (Struts/WebWork/JSF/Spring), Spring, AOP, WebFlow, ORM Tools (Hibernate/Ibatis/JDO/Tapestry), App servers, Databases, JAAS Web Application Performance Tuning & Measurement 6+ years Java software development experience. 4+ years of enterprise Java development, with emphasis on web-based applications. Strong relational database and SQL skills (5+ years). Mail to : anuradha.k@candorservices.co.in

0 Answers   TCS,


What are the main components of multi-tier architecture?

0 Answers  


Categories