Explain the difference between jsp and servlet?



Explain the difference between jsp and servlet?..

Answer / Arunesh Ranjan

JSP (JavaServer Pages) is a technology for developing dynamic web content that allows developers to create pages using HTML, Java, and special JSP scripting elements. Servlets, on the other hand, are standalone Java programs that run on the server side and handle requests and responses directly.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Servlets Interview Questions

Explain session tracking and its importance?

1 Answers  


What are setComment and getComment methods in Cookies?

2 Answers  


1.HttpSession 2.Hidden fields 3.URL Rewriting these primitive type of Session maintainance. What is the other type of process that could help to maintain the Session? pls Explain the process if u know?

5 Answers   OnMobile,


Is it possible to have a constructor inside the servlet?

1 Answers  


What method is used to create database connection in servlets?

2 Answers  


Explain their methods? Tell me their parameter names also have you used threads in servlet?

1 Answers  


Can we use javascript in Servlets?

2 Answers   Wipro,


explain filters in java?

2 Answers   TCS,


When jsessionid is created?

1 Answers  


What is URL Encoding?

1 Answers  


What is httpservlet and how it is different from genericservlet?

1 Answers  


what is the different between a servlet and a cgi? Why do you go for servlet rather than cgi?

1 Answers  


Categories