A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Joined: Oct 12, 2000
May 27, 2001 20:42:00
When processing a request what is BEST suited method for sharing data between
and JSPs? I mean using a 'Request Object', Session or SessionContext?
Joined: Mar 06, 2001
May 27, 2001 21:56:00
Always the Request Object.
Putting transient data on the session wastes resources and can cause problems if the data isn't handled properly.
context is shared across all servlets and is therefore not thread-safe.
I agree. Here's the link:
subject: Best method
how can I send the output of a servlet to a jsp page?
How to identify client calls from server side
finding the jsp
HFSJ - errata
How to access JSP variable in java class
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015