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, 9115👍, 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, 164👍, 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, 3973👍, 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, 312👍, 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, 486👍, 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, 4256👍, 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, 1005👍, 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, 15357👍, 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, 289👍, 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, 923👍, 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, 744👍, 1💬
This section describes XML Tools Plugin, which provides a small set of useful tools for editing XML ...
Want to know when is the 2017 Chinese New Year day? Look for free Chinese calendars for 2017? Chines...
This section provides a list of supported character encodings supported in Java. The list is generat...
This section provides a tutorial example on how to create and delete a program service with 'sc.exe'...
This section describes a tutorial example of a complete SOAP application with both server and client...