I have a struts 2 application which works perfectly on Tomcat 5.5.23 but when
I run it on Jetty 6.1.1 I get the following exception when processing an
OGNL expressions in a jsp page:

org.apache.jasper.JasperException: /WEB-INF/pages/register/info.jsp(45,10)
PWC6038: "#{'FRESHMAN':'Freshman', 'SOPHOMORE':'Sophomore',
'JUNIOR':'Junior', 'SENIOR':'Senior'}" contains invalid expression(s):
javax.el.ELException: Error Parsing: #{'FRESHMAN':'Freshman',
'SOPHOMORE':'Sophomore', 'JUNIOR':'Junior', 'SENIOR':'Senior'}
        at
org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:49)
        at
org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:344)

To me it looks like the JSP processor is trying to parse this expression
which it should not be.  Can anyone please shed any light on this issue?

Phil

I'm using the maven-jetty-plugin and with the command mvn jetty:run-war
-- 
View this message in context: 
http://www.nabble.com/JasperException-and-javax.el.ELException-when-running-under-Jetty-tf4800540.html#a13734373
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to