3. JSP Elements

JSP Elements

There are 5 main basic elements of the jsp

3.1. Scripting elements
  • Scriptlet
  • Expressions
  • Declarations
3.2. Directives
  • Page directive
<%page language="java"
contentType = "any MIME type"
extends = "some java class"
import = "package.*,package.class"
session = "true/false"
isThreadSafe = "true/false"
errorPage = "some JSP"
isErrorPage = "true/fasle"
autoFlush = "true/flase"
buffer = "any amount of kb"
isELIgnored = "true/false"
  • Include directive
<%@ include file="filename.jsp" %>
  • taglib directive
<%@tagliburi="taglibURI" prefix="tag prefix"%>
3.3. Standard Actions
  • jsp:include
  • jsp:forward
  • jsp:param
  • jsp:useBean
  • jsp:setProperty
  • jsp:getProperty
3.4. EL(Expression Language)
3.5. JSTL(JSP Tag Library)

January 16, 2016

0 responses on "3. JSP Elements"

Leave a Message

Your email address will not be published. Required fields are marked *

About Us

Pradeep Academy is an online & Training institute To make learning easy, interesting, affordable and accessible to millions of learners across the Globe.
To create an alternative learning platform, using a unique learning methodology of live online interactive courses along with 24x7 support. We aim to empower our customers with skills which will help them get an edge in their careers and improve their lives.

Contact Us

Address :

#Hosabelaku Building, 3417/13, Near TTMC Bus Stop,, 30 Feet Service Road,

Vijaya Nagar, Bengaluru, Karnataka 560040
Email : [email protected]
Ph No: +91 8660907231
Web: https://academy.pradeepit.com
top
© Pradeep Academy.  Design & Developed by