Java Course Day 21

589 views

Published on

Published in: Education, Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
589
On SlideShare
0
From Embeds
0
Number of Embeds
289
Actions
Shares
0
Downloads
6
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Java Course Day 21

  1. 1. Day 21<br />
  2. 2. JSP<br />
  3. 3. JSP Objects<br />request<br />response<br />out<br />session<br />exception<br />page<br />pageContext<br />application<br />config<br />
  4. 4. Directives<br /><%@ page import=“java.io.*” %><br />
  5. 5. Directives<br /><%@ page import=“java.io.*” %><br /><%@ jsp:include page=“employee.jsp” %><br />
  6. 6. Directives<br /><%@ page import=“java.io.*” %><br /><%@ jsp:include page=“employee.jsp” %><br /><%@ include file=“description.txt” %><br />
  7. 7. Declarations<br /><%! double salary; %><br />
  8. 8. Declarations<br /><%! double salary; %><br /><%!<br />private void checkString(String srt) {<br />…<br />}<br />%><br />
  9. 9. Expressions<br /><%= salary * 3 %><br />
  10. 10. Comments<br /><%-- my first jsp %><br /><!– PRIVET MEDVED --><br />
  11. 11. Actions<br /><jsp:include page “header.jsp” ><br />
  12. 12. Actions<br /><jsp:include page “header.jsp” ><br /><jsp:forward page “main.jsp” ><br />
  13. 13. Actions<br /><jsp:include page “header.jsp” ><br /><jsp:forward page “main.jsp” ><br /><jsp:plugin type=applet<br /> code=“BeautyShop.class” ><br />
  14. 14. ErrorPage<br />
  15. 15. Navigation<br />
  16. 16. JavaBeans<br />
  17. 17. JSTL<br />

×