-
1. Re: JSP compiler JDK1.7
ctomc Sep 19, 2013 8:34 AM (in response to cdschorsch)Hi,
something along this lines
<subsystem xmlns="urn:jboss:domain:web:x.x" ..>
<configuration>
<jsp-configuration source-vm="1.7" target-vm="1.7" />
</configuration>
...
--
tomaz
-
2. Re: JSP compiler JDK1.7
cdschorsch Sep 19, 2013 9:14 AM (in response to ctomc)This don´t work in my standalone-full.xml
<subsystem xmlns="urn:jboss:domain:web:1.1" default-virtual-server="default-host" native="false">
<configuration>
<jsp-configuration source-vm="1.7" target-vm="1.7"/>
</configuration>
<connector name="http" protocol="HTTP/1.1" scheme="http" socket-binding="http"/>
<virtual-server name="default-host" enable-welcome-root="true">
<alias name="localhost"/>
<alias name="example.com"/>
</virtual-server>
</subsystem>
I use the switch case string feature.
I can´t compile the jsp.
This is the error message:
An error occurred at line: 60 in the jsp file: /jsp/errors.jsp
Cannot switch on a value of type String. Only convertible int values or enum constants are permitted