https://issues.apache.org/bugzilla/show_bug.cgi?id=44970

           Summary: Error on the taglib "Logic:notEqual" ,based on the
                    Struts1.1.1.1
           Product: Taglibs
           Version: unspecified
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: String Taglib
        AssignedTo: taglibs-dev@jakarta.apache.org
        ReportedBy: [EMAIL PROTECTED]


Right now,we are devleoping a MVC java project on the platform Eclipse3.2.0.
and occasionally met up with one problem on tablib when dealing with the Struts
taglib "Logic:notEqual".

【Preparation】
In JSP
we use the Struts Taglib in the jsp as below.

-----------------------------------------------------------------------------
<bean:define id="breakKey" value="1018E150300625304589" type="String"/>
....... 
 <logic:notEqual name="lackingBean" property="laseNo" value='<%=breakKey %>'>
      <bean:write name="lackingBean" property="laseNo"/>
 </logic:notEqual>
------------------------------------------------------------------------------

【Test Case1】
   we set '1018E150300625304587' to the "laseNo" of lackingBean.

【Analysis】
   As refered on the logic of Jsp,The value of "laseNo" will be displayed on
the IE because the value of the "breakKey" isn't equal to the value of String
'1018E150300625304587'.

But...

【Errors Report】
 "laseNo" did not display as will,because of the error on the Taglib Logic.

Anyway,that only happend on the character "E"
if we change the character "E" for "C" or anyelse character besides "E",there
will be no problem on the comparison.
For example the comparison between "1018C150300625304589" and
"1018C150300625304587" is OK.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to