csmju313 L2

203 views

Published on

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
203
On SlideShare
0
From Embeds
0
Number of Embeds
37
Actions
Shares
0
Downloads
2
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

csmju313 L2

  1. 1. JSP = JAVA SERVER PAGES)
  2. 2. JSP JSP element 1. Scripting elements 2. Comments 3. Directives 4. Actions
  3. 3. 1. SCRIPTING ELEMENTS
  4. 4. Java code text mode Expression <%= expression %>
  5. 5. EXAMPLE
  6. 6. out.println("Hello, World"); %> if…else , for, while, do…while <% scriptlets %> Scriptlets
  7. 7. Example
  8. 8. scriptlet Declaration” markup <%! declarations %> Declaration
  9. 9. Example
  10. 10. Example
  11. 11. 2. Comments
  12. 12. Example
  13. 13. Example
  14. 14. directive JSP <% @ Directive %> Directive
  15. 15. Example
  16. 16. Example
  17. 17. Example
  18. 18. JSP Language)
  19. 19. for For
  20. 20. if...else
  21. 21. while Loop
  22. 22. switch...case
  23. 23. 3 1/2556

×