[jboss-user] [Beginners Corner] - JSP static import problem
do-not-reply at jboss.com
Mon Nov 5 10:22:05 EST 2007
I'm trying to use static imports, but running into a problem in jsps. The following doesn't work:
<%@page import="static package.name.ClassName.*"%>
I am getting the following:
org.apache.jasper.JasperException: Unable to compile class for JSP
Generated servlet error:
Syntax error on token "static", delete this token
Then it tells me that the variable I'm importing cannot be resolved.
I am using JBoss version 4.0.3SP1 and it's target JDK is 1.6
Does Jboss not support jsp static imports?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101840#4101840
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101840
More information about the jboss-user