views:

296

answers:

1

in spring-config/applicationContext-mapping.xml:

I have this code fragment:

<bean id="unused-url-quick" class="java.util.HashMap">
 <constructor-arg>
 <map>
          <entry key="/page.html" value="/otherpage.html"/>
            ...
        </map>

I can an add an entry key to redirect from one page to another.

Using this same method how can I pass a querystring parameter to the otherpage.html...

<bean id="unused-url-quick" class="java.util.HashMap">
 <constructor-arg>
 <map>
      <entry key="/page.html?qs=1" value="/otherpage.html?qs=1"/>
        ...
    </map>

..where the query string key=value pairs vary?

A: 

This is not done at the Spring level.

codeninja
This is reserved for answers use *add comment* where appropriate
non sequitor