Monday 4 April 2016

Features of JSP

Features of JSP

Hello friend now we discuss some important Features of JSP.
JSP is tag based language to develop web application it is internally servlet. Every jsp code first convert into servlet.

features of jsp

JSP is Extension to Servlet, it have all the features of servlet and it have also implicit objects, predefined tags, expression language and Custom tags in JSP, that makes JSP easy to develop any application.

There are six JSP Actions


  • <jsp:include/>
  • <jsp:forward/>
  • <jsp:plugin/>
  • <jsp:usebean/>
  • <jsp:setProperty/>
  • <jsp:getProperty/> 

Simple JSP Code for web page


<%@ page language = "java" %>
<HTML>
<HEAD><TITLE>JSP Web Page</TITLE></HEAD>
<BODY>
<%
PrintWriter print = request.getWriter();
print.println("Welcome");
%>
</BODY>
</HTML>

No comments:

Post a Comment