Bug 559 - Error when using ForTag
Summary: Error when using ForTag
Status: CLOSED INVALID
Alias: None
Product: Taglibs
Classification: Unclassified
Component: Unknown Taglib (show other bugs)
Version: unspecified
Hardware: Other All
: P1 normal (vote)
Target Milestone: ---
Assignee: Tomcat Developers Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-02-09 04:23 UTC by Lee Ball
Modified: 2005-03-20 17:06 UTC (History)
0 users



Attachments
Precompiled jsp to check the line numbers. (5.73 KB, text/plain)
2001-02-09 04:25 UTC, Lee Ball
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lee Ball 2001-02-09 04:23:29 UTC
I get the following stack trace in my browser when trying to use the example 
jsp for loop provided with the source. I have checked the jsp source and the 
set method for both begin and iterations properties expect an int. I think this 
is wrong and they should expect a String.

allaire.jrun.scripting.DefaultCFE: 
Errors reported by compiler:C:/Program Files/Allaire/JRun/servers/default/lee-
app/WEB-INF/jsp/jrun__test2ejsp9.java:53:1:53:28: Error: No match was found for 
method "setIterations(java.lang.String)".
C:/Program Files/Allaire/JRun/servers/default/lee-app/WEB-
INF/jsp/jrun__test2ejsp9.java:80:1:80:23: Error: No match was found for 
method "setBegin(java.lang.String)".

	at allaire.jrun.scripting.JavaCompilerService.compile
(../scripting/JavaCompilerService.java:122)
	at allaire.jrun.jsp.JSPServlet.compilePage(../jsp/JSPServlet.java:458)
	at allaire.jrun.jsp.JSPServlet.createServlet(../jsp/JSPServlet.java:399)
	at allaire.jrun.jsp.JSPServlet.loadPage(../jsp/JSPServlet.java:202)
	at allaire.jrun.jsp.JSPServlet.service(../jsp/JSPServlet.java:169)
	at allaire.jrun.servlet.JRunSE.service(../servlet/JRunSE.java:1013)
	at allaire.jrun.servlet.JRunSE.runServlet(../servlet/JRunSE.java:925)
	at allaire.jrun.servlet.JRunRequestDispatcher.forward
(../servlet/JRunRequestDispatcher.java:88)
	at allaire.jrun.servlet.JRunSE.service(../servlet/JRunSE.java:1131)
	at allaire.jrun.servlet.JvmContext.dispatch
(../servlet/JvmContext.java:330)
	at allaire.jrun.http.WebEndpoint.run(../http/WebEndpoint.java:107)
	at allaire.jrun.ThreadPool.run(../ThreadPool.java:272)
	at allaire.jrun.WorkerThread.run(../WorkerThread.java:75)
Comment 1 Lee Ball 2001-02-09 04:25:41 UTC
Created attachment 8 [details]
Precompiled jsp to check the line numbers.
Comment 2 Ignacio J. Ortega 2001-05-21 07:33:08 UTC
Changed product to taglibs
Comment 3 Glenn Nielsen 2002-04-04 19:54:05 UTC
Per the JSP spec a custom tag attribute should be promoted to the native
type.  This looks like a bug in the versio of jrun you are using.