Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » JBoss User Help »

[jboss-user] [Tomcat, HTTPD,
 Servlets & JSP] - Accessing varargs from jsp (jboss 4.2.0 / jre 5.0)

scott.stark@jboss.org

2007-06-11


Hi,

I am using jboss 4.2.0 with jre 1.5.0_09 and I get a JSP compile error from Jasper when I try to invoke a varargs method from a jsp page:

 10:37:16,288 ERROR [[jsp]] Servlet.service() for servlet jsp threw exception
 org.apache.jasper.JasperException: Unable to compile class for JSP:

 An error occurred at line: 20 in the jsp file: /samplefiles/sampletop.jsp
 The method GetString(String, ExternalConfiguration, Object[]) in the type IntegrationInterface is not applicable for the arguments (String, ExternalConfiguration)

I can work around this with a dummy empty array, but is it not possible to do this?

Thanks for your comments
k




View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4053172#4053172

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4053172
_______________________________________________
jboss-user mailing list
jboss-user@(protected)
https://lists.jboss.org/mailman/listinfo/jboss-user
©2008 junlu.com - Jax Systems, LLC, U.S.A.