01-07-2011 09:14 AM
01-07-2011 09:39 AM
01-07-2011 09:48 AM
 
					
				
		
01-07-2011 11:51 AM
01-10-2011 12:56 PM
 
					
				
		
01-14-2011 12:50 PM
   <rule>
            <condition type="attribute" name="static" operator="notequal">true</condition>
            <from>/service/**</from>
            <to>/dev/$1</to>
   </rule>   
    <bean id="basicSurfController" class="org.springframework.extensions.surf.mvc.UrlViewController">
        <property name="urlPathHelper" ref="urlPathHelper" />
    </bean>
    <bean class="org.springframework.web.servlet.handler.SimpleUrlHandlerMapping">
        <property name="order" value="1" />
       <property name="mappings">
            <value>
                /dev/**=basicSurfController
            </value>
        </property>
 
        <property name="interceptors">
            <list>
                <ref bean="requestContextInterceptor"/>
                <ref bean="themeInterceptor"/>
                <ref bean="previewContextInterceptor"/> 
            </list>
        </property>           
    </bean>
01-16-2011 03:57 PM
 
					
				
		
01-17-2011 03:55 AM
01-18-2011 10:06 AM
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE urlrewrite PUBLIC "-//tuckey.org//DTD UrlRewrite 3.1//EN"       
  "./dtd/urlrewrite3.1.dtd">
<urlrewrite default-match-type="wildcard">
        <!– Spring Surf –>
        <!– Not required by quickstart
        <rule>
                <from>/proxy**</from>
                <to>/service/proxy/$1</to>
        </rule>
        <rule>
                <from>/res/**</from>
                <to>/service/resource/$1</to>
        </rule>
        <rule>
                <from>/service/**</from>
                <to>/service/$1</to>
        </rule>
        –>
        <rule match-type="regex">
            <from>/(css|js|img|images|swf)/.*</from>
            <set name="static">true</set>
        </rule>
        <rule>
            <condition type="attribute" name="static" operator="notequal">true</condition>
                <from>/**</from>
                <to>/service/$1</to>
       </rule>
       <rule>
                <condition type="attribute" name="static" operator="notequal">true</condition>
                <from>/service/**</from>
                <to>/dev/$1</to>
       </rule>
        <outbound-rule>
                <from>/service/**</from>
                <to>/$1</to>
        </outbound-rule>
</urlrewrite>
 
					
				
		
01-18-2011 11:53 AM
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE urlrewrite PUBLIC "-//tuckey.org//DTD UrlRewrite 3.1//EN"       
  "./dtd/urlrewrite3.1.dtd">
<urlrewrite default-match-type="wildcard">
        <!– Spring Surf –>
        <!– Not required by quickstart
        <rule>
                <from>/proxy**</from>
                <to>/service/proxy/$1</to>
        </rule>
        <rule>
                <from>/res/**</from>
                <to>/service/resource/$1</to>
        </rule>
        <rule>
                <from>/service/**</from>
                <to>/service/$1</to>
        </rule>
        –>
        <rule match-type="regex">
            <from>/(css|js|img|images|swf)/.*</from>
            <set name="static">true</set>
        </rule>
       <rule>
                <condition type="attribute" name="static" operator="notequal">true</condition>
                <from>/service/**</from>
                <to>/dev/$1</to>
       </rule>
        <rule>
            <condition type="attribute" name="static" operator="notequal">true</condition>
                <from>/**</from>
                <to>/service/$1</to>
       </rule>
        <outbound-rule>
                <from>/service/**</from>
                <to>/$1</to>
        </outbound-rule>
</urlrewrite>
 
					
				
				
			
		
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.