Documentation and Books

Recent site activity

Java Development‎ > ‎

Java Server Pages

What are Java Server Pages?

JavaServer Pages (JSP) is a Java technology that allows software developers to dynamically generate HTML, XML or other types of documents in response to a Web client request. The technology allows Java code and certain pre-defined actions to be embedded into static content.

The JSP syntax adds additional XML-like tags, called JSP actions, to be used to invoke built-in functionality. Additionally, the technology allows for the creation of JSP tag libraries that act as extensions to the standard HTML or XML tags. Tag libraries provide a platform independent way of extending the capabilities of a Web server.

JSPs are compiled into Java Servlets by a JSP compiler. A JSP compiler may generate a servlet in Java code that is then compiled by the Java compiler, or it may generate byte code for the servlet directly.

My tutorials :

None

3rd party tutorials :

IBM

SUN

Java Cove Sollutions

Software and downloads :

None

General questions and answers :

None

Common problems and solutions :

None

Techniques and common solutions:

General Tags:

Servlets & JSP:

Java Standard Tag Library:

How can i create my own JSTL function like ${fn:lastIndexOf('Hello.World!', '.')}?
How can i reach the different scopes using JSTL?
How to check if an object is instantiated or not?
How to check if a collection contains elements?
How can i loop through a collection of elements?
How can i directly access an object at index n of a collection?
The c:if does not have a c:else how to solve this?
How to construct a URL using JSTL?
How do i use a ''java.util.HashMap''?
How can i get the value of a ''java.util.HashMap'' directly by using the key?
How can i get the value of a ''java.util.HashMap'' with a value that is stored in a JSTL variable?
How can i format a number in a JSP page using JSTL?
How can i format a date in a JSP page using JSTL?
I have the following JSTL expression, <c:set var="methodName" value="firstname"/> and the expression is ${person.methodName} the methodName should be evaluated first so the the expression becomes  becomes ${person.firstname} how to solve this?

Configuration:

Other:


Project site & reference documentation: