Hello again!
In a jsp page i have the source code bellow:
if(request.getParameter(“obj”)==null)
{ solti = new YYY.SolicitacaoTI(); }
With this object i full fill some fields of this page. In the first try, everything ok. But when i visit this page for the second time, the fields have the same information of the last time. Therefore, a new instance of this object it´s not created…why?
PS:
<jsp:useBean class=”YYY.SolicitacaoTI” id=”solti” scope=”session”/>
PS2: Tomcat 5.0
I need the session scope to use the object in my page.
How to kill the session? I used first session.removeAttribute(“object”) and session.invalidate(), but when i visit the page for the second time, all the fields wasn´t in blank…. I think the object wasn´t removed.
Thank´s for your attention.