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

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22501

Taglib evalution problem

           Summary: Taglib evalution problem
           Product: Tomcat 4
           Version: 4.1.24
          Platform: PC
        OS/Version: Windows NT/2K
            Status: UNCONFIRMED
          Severity: Major
          Priority: Other
         Component: Unknown
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]
                CC: [EMAIL PROTECTED]


I'm working on a medium-scale enterprise app in BES 5.2.1. My
presentation tier consists of JSP pages served by Tomcat, and I am
using the JSTL fmt tags to provide i18n support for my application.

I wish to pass a parameter into the fmt tag as the key, the parameter
coming from posted form data. e.g.

<fmt:message key="<%= request.getParameter("action") %>" />

I experienced problems using this method however. It seems that the
request.getParameter part wasn't evaluated inside the tag for some
reason, resulting in "???title???" as the output on the page if the
action parameter had the value of "title".

I did some research on the newsgroups and discoverd that the body of
the format tag can also be used as the key. e.g.

<fmt:message><%= request.getParamger("action") %></fmt:message>

However this still didn't work, and produced the same output as above.

Just as a shot in the dark, I tried running both examples on
standalone Tomcat (i.e. not inside BES) which ships with JBuilder 9
(version 4.0.x). Everything worked fine!! However, the example fails again 
under standalone 4.1.24 which ships with JBuilder.

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

Reply via email to