Tutorial Archive

JSP pageContext Object

JSP pageContext Object is implicitly available to the developer on Java Server Pages. A pageContext implicit object is used for storing and retrieving page-related information and sharing objects within the same translation unit and same …

page implicit object

The JSP implicit page object is an instance of the java.lang.Object class. It represents the current JSP page. That is, it serves as a reference to the java servlet object that implements the JSP page …

JSP Include Tag Example

JSP Include tag is used to include another resource in current JSP. Another resource can be either static or dynamic file. General syntex of JSP Include Tag look like this: Syntex: <jsp:include page="xyz" flush="true"/> Example: …

JSP Forward Vs Redirect

JSP Forward Vs Redirect: JSP Forward is faster than Redirect. Forward    Control can be forward to resources available within the server from where the call is made. This transfer of control is done by …

JSP include Directive

Include Directive in JSP is an instruction from JSP to JSP Engine about including static file at Translation Time. The include directive is used to includes a file during the translation phase. This directive tells …

Taglib Directive in JSP

The JavaServer Pages API allows you to define custom JSP tags that look like HTML or XML tags and a tag library is a set of user-defined tags that implement custom behavior. The taglib directive …