4 Replies Latest reply on Nov 23, 2011 1:36 PM by Roberto Beeman

    web subsystem <configuration> attributes are not working

    Roberto Beeman Newbie

      Hi,

       

      in My JBoss AS 7.0.2 Final when i am trying some of the web subsystem attribute then it seems that those are not working:

       

      The attributes are mentioned in the following section:

      https://docs.jboss.org/author/display/AS7/Subsystem+configuration        Section [Container configuration  - JSP Configuration]

       

       

       

      [code]

              <subsystem xmlns="urn:jboss:domain:web:1.0" default-virtual-server="default-host">

                  <configuration>

                      <jsp-configuration development="true" keep-generated="false" trim-spaces="true"/>

                  </configuration>

                  <connector name="http" protocol="HTTP/1.1" socket-binding="http" scheme="http"/>

                  <virtual-server name="default-host" enable-welcome-root="true">

                      <alias name="localhost"/>

                      <alias name="example.com"/>

                  </virtual-server>

              </subsystem>

      [/code]

       

      following is working

      development="true" ----- is working and i can see that the changes made in the jsps are getting reflected properly without restart

      but  other two are not working

       

       

      Following are not working

      keep-generated="false" ------------> with false as well i can see that the *.java code is getting generated at "jboss-as-7.0.2.Final/standalone/tmp/work/jboss.web/default-host/TesApp/org/apache/jsp"

      trim-spaces="true"   --------------> No extra spaces from the JSP are trimmed.