Setup Menus in Admin Panel

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 *

© Pradeep Academy.  Design & Developed by