Hi all,

I often encounter Number format exception when I use JSON plugin to
parse input String "" from AJAX request to Number,
because in Web front,  that will be a zero length String "" transfer
to backend if the text input has no enter,
so will encounter the Number format exception for input String "".

I check the JSONPopulator, that has process the null value to 0 when
parse to Number type, but not process the String "",
So can JSONPopulator to support process String "" to null or 0,that
will be easier web front develop.


-- 
========================
Knight Chen

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to