Bug 559

Summary: Error when using ForTag
Product: Taglibs Reporter: Lee Ball <lee.ball>
Component: Unknown TaglibAssignee: Tomcat Developers Mailing List <dev>
Status: CLOSED INVALID    
Severity: normal    
Priority: P1    
Version: unspecified   
Target Milestone: ---   
Hardware: Other   
OS: All   
Attachments: Precompiled jsp to check the line numbers.

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.