Hi
I m putting a vector in a session on my first page which is a dynamic html generated by the output of a
servlet like this
HttpSessiom session = req.getSession(true);
session.putValue("MyVector",obj);
where Vector is declared at class level in this way
Vector obj = new Vector();
If i try to retrive the vectors value in my second page by this way
HttpSession ses = req.getSession(true);
Vector obj = (Vector)ses.getValue("MyVector");
when i run my application first time it retrives the value of obj in second application as null but when i refresh the browser and again call the second application from first then it runs perfectly fine
Can anyone suggest where I m going wrong?
any views ?