Which version of Tomcat are you refering to?
I recall the discussion, and that a solution was implemented
in at least Tomcat 3.2. I am using jsp:setPorperty with value=""
in some JSP pages running in Tomcat 3.2.
Regards,
Glenn
Burkard Endres wrote:
>
> Hi
>
> I've seen a Messagethread a while ago (dated 12.20.2000), where
> is mentioned that it is impossible to set an empty String
> in an property.
> I've had the same Problem and here I want to commit my solution.
> It migth be integrated in the class org.apache.jasper.JspRuntimeLibrary:
> here is what I changed:
>
> // original line:
> //if(value == null || (param != null && value.equals(""))) return;
> //replaced to:
> if(value == null || ((param != null && value.equals("")) &&
> (!type.equals(String.class)))) return;
>
> If I set an other property than a string property everithing stays
> unchanged.
>
> hope this is usefull for you
>
> kind regards
>
> Burkard Endres
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
--
----------------------------------------------------------------------
Glenn Nielsen [EMAIL PROTECTED] | /* Spelin donut madder |
MOREnet System Programming | * if iz ina coment. |
Missouri Research and Education Network | */ |
----------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]