Objective
Writing Java Code Directly : Scripting Elements

JSP provides the following Scripting Elements
1. Expressions 
2. Scriptlets
3. Declaration

1. Expressions  
- They are used to display value of a variable or an object
- These variables or objects can be pre-defined or user-defined
- Syntax :
	<%= Expression %>
- Some of predefined object are :
	request 		HttpServletRequest
	response		HttpServletResponse
	session		HttpSession
	application	ServletContext
	page		<Current Page>
	out		JSPWriter

2. Scriptlets
- They are used to write set of Java Statements within JSP page
- Syntax:	
	<%
	Java Statements
	%>
3. Declaration
- To declare member data and member functions in the servlet that will be created on translation of JSP page
- The value assigned to member data is assigned is only once during (init) ****important
- Syntax :
	<%!
	Member Data
	Member Functions
	%>

JSP Comments		HTML Comments
<%--			<!--
JSP Comments		HTML Comments
--%>			-->

HTML comments can be seen on client machine whereas JSP comments are blocked on Server Machine

Examples : jsp\class2
1. Expressions.jsp
2. ThreeParamsForm.html calls ThreeParams.jsp
3. Interest.html calls Calculate.jsp
4. BGColor.jsp
5. DayWish.jsp
6. AccessCounts.jsp

NOTE: All .html and .jsp files will be stored with webapps\root













