| Author |
setProperty
|
Gustavo Armenta
Greenhorn
Joined: Jul 08, 2003
Posts: 3
|
|
When I use the custom tag <jsp:setProperty name="bean" property="*" /> it works fine to load string values. What can I do in order to set Date values? What if I want an exception to happen if the value is not a Date valid type?
|
Gustavo Armenta<br />2002 SCJP 1.4<br />2006 SCWCD 1.4 and SCBCD 5<br />2007 SCDJWS, SCEA, and OCUP
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56151
|
|
Parse the string passed to the bean mutator as a date and throw an exception if the parse fails. hth, bear
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
 |
|
|
subject: setProperty
|
|
|