String literal "null" submission with Struts
Does anyone know if Struts allows you to submit the 4 character literal "null" as an input to an <html:text> tag? Each time I try to submit this value through a form I actually end up with null instead of "null".
This is a tough thing to search for on Google as well, I've come up empty handed so far.
Thanks guys!
[340 byte] By [
den2681a] at [2007-11-26 21:29:16]

<html:text> ends up being just a regular <input type="text">, so it's just the single line variety.
I think I may have found the culprit though, there is some goofy function in our code that is -normalizing- a "null" to null. So I imagine if you try it you will get "null" on the other end. Be sure to check the value against null though, because if you just try and System.out.println(); the value null ends up being "null" on the console.
I only even have this problem because apparently some people actually have the last name Null -- unlucky bastards.