Re: null values and empty strings

Philip Luppens <[email protected]> Mon, 11 Dec 2006 04:54:37 CST
Newsgroups gmane.comp.java.open-symphony.webwork
Message-ID <2234718.1165834507344.JavaMail.os-j2ee@opensymphony01.managed.contegix.com>
Normally, if you don't want empty Strings to be set, they should be caught in the validation, but that's not always possible.

One solution (probably the best) is to use the new Parameter Remove Interceptor [1]. It allows you to block certain parameters when their content matches a certain value.

[1] http://wiki.opensymphony.com/display/WW/Parameter+Remover+Interceptor
---------------------------------------------------------------------
Posted via Jive Forums
http://forums.opensymphony.com/thread.jspa?threadID=52965&messageID=106609#106609

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]