DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=41856>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41856

           Summary: JSTL Tags does not work  - ${TradeMap["\TradeList"]}"
                    doesnt work
           Product: Tomcat 5
           Version: 5.0.30
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: major
          Priority: P1
         Component: Catalina
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: [EMAIL PROTECTED]


I am working on Tomcat 5.0.30  and working an application based on Spring 
framework. Os for development is Windows xp.

Some of the pages which uses JSTL References like the below does not work

Here you could understand the TradeMap is the model name set in the controller

and its value is a Map and one of the key inside the map is TradeList.

For your info the same application works in Websphere 5.x without any problems.

I have searched the newsgroups and forums thoroughly and they say to update 
the web.xml to give the namespace to web-app ,but nothing worked out.

Newsgroup also suggested that it could be that Jsp1.2 doesnt evaluate the 
expression language. Hoewever the coding is based on jsp1.2 and jstl1.0 and it 
works on websphere 5.x which supports servlet 2.3 and jsp1.2.

I tried in Tomcat 4.x and the result is the same error. I am running this from 
eclipse using eclipse sysdeo plugin for tomcat.


org.apache.jasper.JasperException: <h3>Validation error messages from 
TagLibraryValidator for c</h3><p>134: tag = 'forEach' / attribute = 'items': 
An error occurred while parsing custom action attribute "items" with 
value "${TradeMap["\TradeList"]}": Encountered ""\T", expected one of 
[<INTEGER_LITERAL>, <FLOATING_POINT_LITERAL>, 
<STRING_LITERAL>, "true", "false", "null", "(", "-", "not", "!", "empty", 
<IDENTIFIER>]</p>

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to