---
title: "What is a JSP and what is it used for?"  
description: "What is a JSP and what is it used for?"  
author: "Anonymous User"  
published: 2010-12-31  
updated: 2020-09-18  
canonical: https://www.mindstick.com/interview/306/what-is-a-jsp-and-what-is-it-used-for  
category: "java"  
tags: ["java"]  
reading_time: 1 minute  

---

# What is a JSP and what is it used for?

Java Server Pages (JSP) is a platform independent presentation layer technology that comes with SUN’s J2EE platform. JSPs are normal HTML pages with Java code pieces embedded in them. JSP pages are saved to *.jsp files. A JSP compiler is used in the background to generate a Servlet from the JSP page.

## Answers

### Answer by Anonymous User

Java Server Pages (JSP) is a platform independent presentation layer technology that comes with SUN’s J2EE platform. JSPs are normal HTML pages with Java code pieces embedded in them. JSP pages are saved to *.jsp files. A JSP compiler is used in the background to generate a Servlet from the JSP page.


---

Original Source: https://www.mindstick.com/interview/306/what-is-a-jsp-and-what-is-it-used-for

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
