Thursday, April 17, 2003 06:37 AM
Are they all part of the same request? Otherwise that is what session scope is for.
Each time a client submits something to the server, it starts a whole new request. So, if you set something in request scope from the jsp, how are you invoking the servlet? the only way to keep it in the same request, as far as I know, would be to do a jsp:include. If you return a response from the jsp to a client, blam that previous request is gone, so if the servlet gets invoked from the client's new request, you'd have to use session scope, to communicate from the previous jsp to the current servlet.