[ 
https://issues.apache.org/struts/browse/STR-2992?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Jouravlev closed STR-2992.
----------------------------------

    Resolution: Not A Problem

JSTL has powerful conditional tags and it does not throw exception when a null 
object is requested. JSTL should be preferred over Struts tags whenever 
possible.

> allow to compare whether an arbitrary object is null
> ----------------------------------------------------
>
>                 Key: STR-2992
>                 URL: https://issues.apache.org/struts/browse/STR-2992
>             Project: Struts 1
>          Issue Type: Improvement
>          Components: Taglibs
>    Affects Versions: Future
>         Environment: any
>            Reporter: Ralf Hauser
>         Attachments: CompareTagBase.java.patch
>
>
> The idea is to for example do a notEqual logic tag where the value="null".
> By default this would be seen as a string comparison and always result in a 
> "-1" but with this patch, it should test for an arbitrary null object 
> reference.
> IMHO, this is more powerful.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to