Download presentation
Presentation is loading. Please wait.
Published byEustace Wilkinson Modified over 8 years ago
1
Chapter 5 Generating Dynamic Content
2
Creating a JSP Page A Sample JSP Page: easy.jsp JSP is Easy JSP is as easy as... 1 + 2 + 3 =
3
Installing a JSP Page Create a Web Application directory f9406000 easy.jsp WEB-INF web.xml classes lib jstl.jar lib\standard.jar war
4
Running a JSP Page http://localhost:8080/f9406000/easp.jsp
5
Using JSP Directive Elements page contentType text/plain, text/xml, text/vnd.wap.wml errorPage, isErrorPage, session, pageEncoding, buffer, and autoFlush import, language include taglib
6
JSP Comments
7
Using Template Text JSP is Easy JSP is as easy as... 1 + 2 + 3 =
8
Using JSP Action Elements action_body...
9
Standard action elements
11
JSP Standard Tag Library Core Conditional processing and looping, importing data from external sources, etc. XML processing Processing of XML data, such as transforming and accessing individual elements Internationalization (I18N) and formatting Format and parse localized information, insert localized information in a page Relational database access (SQL) Read and write relational database data
12
The JSP Expression Language 1 + 2 + 3 = 1 + 2 + 3 = ${1 + 2 + 3}
13
Expression Language operators
15
Implicit EL variables
17
EL Variable Name Naming Convention rules namingConventionRules
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.