| Author |
About Map wrapper scheme
|
Seetharaman Venkatasamy
Ranch Hand
Joined: Jan 28, 2008
Posts: 5575
|
|
Hi Folks[Bear],
I come across the question "How to use jsp:useBean in servlet" in Jsp forum . In that Bear mention About Map Wrapper . I want to know about this . i did google ,but not able to get the information about Bear's Map Wrapper .
Please Can you give me the url to learn about Map wrapper
|
 |
Steve James
Ranch Hand
Joined: Apr 12, 2009
Posts: 44
|
|
|
Did you succeeded in using Wrapper .
|
I am just a brick in the wall of Java
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56529
|
|
Essentially I just create a class that is a wrapper around a Map instance. I store the parameter map in this Map instance. Getters on the class provide bean-like access to the expected properties.
This makes it easy to "set" a large number of parameters without having to set each and every one, yet has all the benefits of a true bean with respect to getters.
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
 |
|
|
subject: About Map wrapper scheme
|
|
|