XML Tutorials - Herong's Tutorial Examples
This XML tutorial book is a collection of notes and sample codes written by the author while he was learning XML himself. Topics include introduction to XML, DTD (Document Type Definition), XSD (XML Schema Definition), XPath (XML Path Language), XSL (Extensible Stylesheet Language), XSLT (XSL Transf... 2021-03-07, 8814👍, 2💬
Java Strings as Unicode Encoded Byte Sequences
This section provides a tutorial example on how to use Java String data type to enter non-ASCII character as Unicode characters. Java Servlet technology is smart to convert Unicode characters into the encoding specified in the setContentType() call. 2021-03-18, 132👍, 2💬
Sending and Receiving Cookies in JSP Pages
This section provides a tutorial example on how to send cookies to the browser and receive cookies from the browser in JSP pages using response.addCookie() and request.getCookie() methods. 2021-02-17, 148👍, 3💬
Passing Values between JSP Pages
This section provides a tutorial example on how to use different ways to pass values between JSP pages: putting values in 'session' or 'application' objects, or putting values at the end of redirect URL. 2020-12-22, 835👍, 7💬
Example Java Class Converted from a JSP Page
This section provides a tutorial example Java class converted by Tomcat 7 from the JSP page, Hello_Scripting.jsp. Scripting elements included in the JSP page are converted correctly. 2020-09-27, 3765👍, 3💬
JSP Document - JSP Page in XML Format
This section describes the syntax of a JSP Document, which is a JSP page written in XML format. Tomcat 7 server can process both JSP Page format and JSP Document format. 2020-04-29, 270👍, 3💬
RFC 1867 - Form-based File Upload in HTML
This section describes the file upload specification, 'RFC 1867 - Form-based File Upload in HTML', proposed by E. Nebel and L. Masinter in 1995. 2019-08-09, 410👍, 2💬
How JSP Pages Are Processed?
This section describes how JSP pages are processed by the Web server. Two key steps are involved: 1) compilation of the JSP page into a Java Servlet class; 2) execution of the compiled class. 2019-05-30, 4117👍, 3💬
c:out Action Tag
This section describes the c:out action tag in the JSTL Core library. c:out allows you to generate a dynamic data using an EL (Expression Language) expression in JSP pages. 2019-01-30, 107👍, 1💬
JSP (JavaServer Pages) Overview
This chapter provides an overview of JSP (JavaServer Pages). Topics include what is JSP; main features of JSP 2.1; how JSP pages are processed; popular JSP enabled Web servers. 2016-12-09, 106👍, 1💬
JSP Java Tag Interface
This chapter provides tutorial notes and example codes on JSP Java tag interface. Topics include the javax.servlet.jsp.tagext package; JspTag, SimpleTag and IterationTag interfaces; SimpleSupport and TagSupport classes; implementing IterationTag interface. 2016-11-10, 113👍, 1💬
Nested Tags Example - Break Tag for Loops
This section provides a tutorial example on how to create 2 tag classes to a support nested custom tags in JSP pages. As an example, a Loop tag and a Break tag is created to work together. 2016-11-08, 122👍, 1💬
Main Features of JSP 2.1
This section describes main features of JSP 2.1 including scripting elements, built-in objects, directives, JavaBean objects, JSTL, EL and standard actions. 2016-11-02, 980👍, 2💬
Downloading and Installing Tomcat 7
This section provides a tutorial example on how to download and install Apache Tomcat 7 on a Windows 7 local system. Tomcat 7 requires JDK 1.6.0. 2016-07-16, 14015👍, 5💬
JSP Custom Tags
This chapter provides tutorial notes and example codes on JSP custom tags. Topics include what is custom tag; steps of creating and using custom tags; first custom tag, hy:hello. 2016-07-12, 287👍, 1💬
Writing Scriptlet Element in XML Format
This section describes the syntax of writing Scriptlet Elements in XML format for a JSP document. The Java statement block should be enclosed in a CDATA sequence to protect special characters. 2016-05-10, 104👍, 1💬
Accessing File System from JSP Pages
This section provides a tutorial example on how to access the file system from JSP pages using 3 different reference points: Current Directory, Physical Root Directory, and Virtual Root Directory. 2016-02-09, 113👍, 1💬
Using Perl LWP Package for Debugging
This section provides a tutorial example on how to use the Perl LWP package to debug JSP applications. The LWP package allows to dump HTTP request and response. It also allows you to control how to manage page redirect. 2016-01-09, 896👍, 1💬
Relationship between Servlet and JSP
This section describes the relationship between of Servlet and JSP. Most JSP servers (containers) are implemented to support the JSP technology as an extension of the Servlet technology. 2015-08-03, 740👍, 1💬
JSP Tutorials - Herong's Tutorial Examples
This free book is a collection of notes and sample codes written by the author while he was learning JSP. Topics include attachment, content-disposition, cookie, custom tag, debugging, expression language, file upload, header lines, HTTP, JavaBeen, JavaSever Page, JSP, JSTL, JSTL-EL, localization, M... 2015-07-21, 269👍, 0💬
This section describes how to download and install MySQL Connector/J (JDBC driver).
This section provides a tutorial example on how to convert a private key file from the traditional f...
This chapter provides tutorial notes and example codes on WSDL2Java. Topics include using the WSDL2J...
This section provides a tutorial example on how to use the FFmpeg 'ffplay' command to play movie fil...
This section provides a tutorial example on how to check FTP server log file.