You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2003/04/11 21:12:30 UTC
DO NOT REPLY [Bug 18969] New: -
No function is mapped
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=18969>.
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=18969
No function is mapped
Summary: No function is mapped
Product: Tomcat 5
Version: Nightly Build
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: Other
Component: Jasper2
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: pierre.delisle@sun.com
It looks like functions do not work properly if invoked
in a nested tag.
For example:
With
<c:set var="custId" value=" 123 "/>
The following works:
${fn:trim(custId)}
<c:out value="${fn:trim(custId)}"/>
While the following
<c:url value="http://acme.com/cust">
<c:param name="custId" value="${fn:trim(custId)}"/>
</c:url>
fails with this exception:
javax.servlet.ServletException: No function is mapped to the name "fn:trim"
at
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:680)
at org.apache.jsp.Trim3_jsp._jspService(Trim3_jsp.java:71)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:136)
A war is attached that reproduces the problem.
Simply access Test.jsp.
Thanks!
-- Pierre
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org