I m having one servlet. There is session and i m setting some attributes and as a output it goes to JSP. Here i m not requesting to JSP. So whatever attributes i have set there not getting in JSP.
Sorry but what you are trying to express is not very clear. If you've set some attributes in the session, they will be available at any time, until the session is invalidated. So there should be no problem to access them from JSP.
If you could be a little more specific on how you are trying to access the attributes.