Åke Argéus ha scritto:
I believe this is a feature of the servletcontainer.
You cannot add requestparameters when the request is processing already, so a
forward can't really change the querystring in that way and get it reparsed
into requestparameters.
You can parse the querystring manually though in your jsp if you feel like
messing around with that kind of code. Should probably do it in a taglib-tag if
you want to write code directly on the httpservletrequest.
There is of course always the overengineered aproach...
You can add a filter that dispatches on forward, that wraps the request in your own
implementation of HttpServletRequestWrapper, that manages a map of your own
"home-parsed" parameters which it exposes on getparameter and such calls.
This would allow you to write code in you jsp that looks and feels just like
you have now, and kind of plugin a fix this way.
I believe I would take the first approach unless I had made a lot of jsp-pages
like this and didn't want to go around the application rewriting them.
Thansk for your point. But ig this is correct, look at Magnolia demo
(http://demo.magnolia-cms.com - superuser/superuser) config:
<config>/modules/adminInterface/virtualURIMapping/messages
this should not work! Isn't it?
Matteo
----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------