Controller which publishes files through a web interface.
To use this controller, it should be mapped to a particular url in the url
mapping of the spring dispatcher servlet. Example:
<bean id="filePublisher" class="org.geoserver.ows.FilePublisher"/>
<bean id="dispatcherMappings"
<property name="alwaysUseFullPath" value="true"/>
class="org.springframework.web.servlet.handler.SimpleUrlHandlerMapping">
<property name="mappings">
<prop key="/schemas/** /*.xsd">filePublisher</prop>
<prop key="/schemas/** /*.dtd">filePublisher</prop>
<prop key="/styles/*">filePublisher</prop>
</property>
</bean>
author: Justin Deoliveira, The Open Planning Project |