Hi
On 11/04/13 02:00, harrisgilliam wrote:
Ok.. I figured it out... Query parameters who's value was set due to a
@DefaultValue annotation are not in the HttpServletRequest... which now that
I think about it... makes sense.
I still need those query parameters in my JSPs so I had to add a @Context
HttpServletRequest argument to the methods in my resource classes and then
call setAttribute on the passed in HttpServletRequest manually.
You may be able to simplify that a bit and update Message.QUERY_STRING
property on a current Message (in case of a given query parameter
missing) from a cxf provider (in CXF 2.6.x it is RequestHandler)
Everything works as expected now.
Thanks for your help :-)
Welcome, by the way I wonder if the runtime has to take care of
providing the default values via related UriInfo methods or not, I do
not see anything in the spec but it kind of makes sense, let me
investigate a bit more.
Thanks, Sergey
---Harris
--
View this message in context:
http://cxf.547215.n5.nabble.com/RequestDispatcherProvider-not-saving-QueryParameters-in-HttpServletRequest-tp5725789p5726146.html
Sent from the cxf-user mailing list archive at Nabble.com.