Anonymous | Login | Signup for a new account | 12-17-2024 10:49 PST |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Advanced Details [ Jump to Notes ] | [ View Simple ] [ Issue History ] [ Print ] | ||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
0001545 | [Resin] | minor | always | 01-08-07 13:38 | 04-05-07 15:33 | ||||
Reporter | ferg | View Status | public | ||||||
Assigned To | ferg | ||||||||
Priority | urgent | Resolution | fixed | Platform | |||||
Status | closed | OS | |||||||
Projection | none | OS Version | |||||||
ETA | none | Fixed in Version | 3.1.1 | Product Version | 3.0.22 | ||||
Product Build | |||||||||
Summary | 0001545: jsp custom tag and jstl | ||||||||
Description |
(rep by Bill Au) We are having problem with resin 3.0.22 and JSTL. We have the following line of code in our JSP : <rbf:get-pages paginator="${paginator}" numPages="5" var="pages"/> This custom tag is defined as: <tag> <name>get-pages</name> <tag-class>cnwk.forums.tld.GetPages</tag-class> <attribute> <name>paginator</name> <required>true</required> <rtexprvalue>true</rtexprvalue> </attribute> <attribute> <name>numPages</name> <required>false</required> <rtexprvalue>true</rtexprvalue> </attribute> <attribute> <name>var</name> <required>true</required> <rtexprvalue>true</rtexprvalue> </attribute> </tag> We are getting the following exception: [13:14:14.338] javax.servlet.ServletException: javax.servlet.jsp.JspException: ServletException in '/tiles/search-results/search-results.jsp': /tiles/search-results/search-results.jsp:58: expected `<%= ... %>' at `${paginator}' for tag attribute setter `setPaginator(com.jivesoftware.forum.action.util.Paginator)'. Tag attributes which can't be converted from strings must use a runtime attribute expression. It seems that things will work if we change the tld uri from http://java.sun.com/jstl/core [^] to the newer version at http://java.sun.com/jsp/jstl/core [^] But then we discovered that it would only work on Linux, but not on a PC. On a PC we had to disable fast-jstl in order to get things to work. I think the uri "http://java.sun.com/jsp/jstl/core" [^] is for JSTL 1.1. Is that supported with Resin 3.0.22? The features list on your web site has JSTL 1.01 listed. Are there any knows issues with fast-jstl and JSTL 1.1? I am asking because while I was researching this problem I came this link that claims fast-jstl in resin 3.0.21 conflicts with JSTL 1.1: http://isun.blog.sohu.com/23338962.html [^] (it is in chinese) I still don't understand why fast-jstl causes problem on PC but not Linux. I am going to go over the config file on both to see if I spot anything. We also went back an checked earlier version of 3.0.X. This problem first appears in 3.0.19. |
||||||||
Steps To Reproduce | |||||||||
Additional Information | |||||||||
Attached Files | |||||||||
|
There are no notes attached to this issue. |
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
26 total queries executed. 24 unique queries executed. |