well this is not fixed. the url will alwyas begin with * myapp.com/mypage/val1/val2*
but it may also contain additional keys like *myapp.com/mypage/val1/val2?key=val* or *myapp.com/mypage/val1/val2?otherkey=val&keykey=val* etc inside my page im only interested in val1, val2 and depend on those values I will choose service impl where I want pass all key-val pairs from request. val1/val2 parameters are not a problem I can easily get them from PageParameters using get(String) the trouble I have is that PageParameter object is not built under original request's Map. pozdrawiam Paweł Kamiński [email protected] [email protected] ______________________ On 31 October 2011 23:54, Igor Vaynberg <[email protected]> wrote: > under what key should ${param1}/${param2} be stored? > > -igor > > On Mon, Oct 31, 2011 at 3:30 PM, kamiseq <[email protected]> wrote: >> hej, >> I need to obtain request parameters as Map like I would if I had >> access to HttpServletRequest but with PageParameters I can't find a >> way to do it >> >> I have mounted page with pattern : /mypage/${param1}/${param2} >> >> so every time I get request to myapp.com/mypage/val1/val2?key=val I >> would like to get map of these parameters and pass it to service that >> do not know anything about Page or PageParameters, on the other hand >> page don know which parameter service is interested in. >> how I can solve this problem? >> >> thanks >> >> pozdrawiam >> Paweł Kamiński >> >> [email protected] >> [email protected] >> ______________________ >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
