(attributes and properties and parameters and cookies)
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Alex_Chaffee
Posted On:   Friday, February 14, 2003 05:15 PM

Can you summarize all the different places you can store and retrieve data (attributes and properties and parameters and cookies) from a Servlet or JSP? Sure! Object Property Notes Config initParameter this servlet only set in web.xml: servlet/init-param/param-name Context (Application) initParameter all servlets set in web.xml: context-param/param-name Context    More>>

Can you summarize all the different places you can store and retrieve data (attributes and properties and parameters and cookies) from a Servlet or JSP?


Sure!






































Object Property Notes
Config initParameter this servlet only

set in web.xml: servlet/init-param/param-name
Context
(Application)
initParameter all servlets

set in web.xml: context-param/param-name
Context
(Application)
attribute all servlets, all users
Session attribute all servlets, this user only
Request parameter passed in by user
Request attribute set by other servlet
Request cookie stored on user's browser
Page (JSP only) attribute this page, this request only


See also


[Todo: go to each of the above and link back to this]    <<Less
About | Sitemap | Contact