Can I create a static directory in JBoss AS 7.2, like WildFly?
I know the WildFly server can be configured to serve static content by undertow subsystem. For instance:
<server name="default-server">
<http-listener name="default" socket-binding="http"/>
<host name="default-host" alias="localhost">
<location name="/mycontent" handler="content"/>
</host>
</server>
<handlers>
<file name="content" path="${jboss.home.dir}/content" directory-listing="true"/>
</handlers>
According to my requirement, user will upload the static content in the static directory.