What is a Scriptlet

JSP scriptlet

A scriptlet can contain any number of language statements, variable or expressions that are valid in the page scripting language. Within scriptlet tags, you can declare variables to use later in the file, write expressions valid in the page scripting language, use any of the JSP implicit objects or any object declared with a . Generally a scriptlet can contain any java codes that are valid inside a normal java method. This will become the part of generated servlet's service method


Related Topic JSP Variable Declaration Statement
How to Convert the Expression to String in JSP
JSP Scriptlets Tag for Variable Expressions and Statements Declaration
Servlet Interview Questions & Answers

nScraps.com 2011   Privacy Policy  Terms of Service  Feedback