i opened one browser and typed one jsp page in the one form is there in that one only username is there i typed that username and clik on submit and navigate to another page
<FORM METHOD=POST ACTION="SaveName.jsp">
What's your name? <INPUT TYPE=TEXT NAME=username SIZE=20>
String name = request.getParameter( "username" );
session.setAttribute( "theName", name );
NextPage.jsp shows how to retrieve the saved name.
Hello, <%= session.getAttribute( "theName" ) %>
here my doubt is i opened another browser and getting the same user is it possible
If you open two browsers (both the same browser, that is both IE or both Firefox) on the same machine they will have the same session id, since they will be looking at the same cookie.