where do the cookies get stored in the request object

 

Cookies are stored in the headers. In the response header it is stored at Set-Cookie and in the request object it is stored under Cookie header

Advertisements

Is the exception implicit object available in all the JSP pages?

 

No, it is avaliable only in the error pages. that is in the pages where this directive is present


<%@ page isErrorPage="true" import="java.io.*" %>

how do you navigate to error pages in JSP

 

In the page where exception might occur, add a page directive as below


<%@ page errorPage="ExceptionHandler.jsp" %>

 

Here ExceptionHandler.jsp is the actual error JSP to which exception implicit object is made available when exception occurs. Inside this page we need to add a page directive as shown below


<%@ page isErrorPage="true" import="java.io.*" %>

Mawazo

Mostly technology with occasional sprinkling of other random thoughts

amintabar

Amir Amintabar's personal page

101 Books

Reading my way through Time Magazine's 100 Greatest Novels since 1923 (plus Ulysses)

Seek, Plunnge and more...

My words, my world...

ARRM Foundation

Do not wait for leaders; do it alone, person to person - Mother Teresa

Executive Management

An unexamined life is not worth living – Socrates

Diabolical or Smart

Nitwit, Blubber, Oddment, Tweak !!

javaproffesionals

A topnotch WordPress.com site

thehandwritinganalyst

Just another WordPress.com site

coding algorithms

"An approximate answer to the right problem is worth a good deal more than an exact answer to an approximate problem." -- John Tukey