I am reading a MVC model web application ,in which somewhere they are using request.setAttribute and somewhere session.setAttribute,as far as i understand when you've to dispatch a request to another
JSP,use request.setAttribute whereas in a class that is doing various operations like,loading data or saving data session.setAttribute is required?If not then whats the difference b/w two?