1] what this method do :
response.createURI();
Never heard of it.
Neither has the
j2ee API 2] what is the concept of setting an attribute & getting it into another jsp or servlet . I mean how another jsp know that this request object is same one for that we have set attribute . I mean , are we passing that request object to another jsp or servlet , can you please post some code , how to do that ....
ServletContext is available to your whole app.
Session is available to all requests made in a given user's session.
Request is available for the life of one request cycle.
These are very fundamental issues to Servlet/JSP programming and are covered in the early chapters of any Servlet or JSP book.