RequestParam « Web « Spring Q&A





1. @RequestParam unable to retrieve array values    forum.springsource.org

@RequestParam unable to retrieve array values Hi, I am facing a problem in submitting a simple html form , in which an array of values is being submitted to Spring Controller. ...

2. Question on @RequestParam conversions    forum.springsource.org

Question on @RequestParam conversions I have some questions regarding RequestParam conversions. For the most part I have simple conversions working however when it comes to more complex objects things arent working ...

3. @RequestParam List ids: can this work?    forum.springsource.org

I have a controller method that has a List parameter retrieved from the request using the @RequestParam annotation. It seems that the list is returned as a List. Have I missed ...

4. http 400 using @RequestParam    forum.springsource.org

http 400 using @RequestParam Hello Everybody, I would like to send a request containing parameters (using syntax of key-value pair, e.g. myname=joe) to a servlet using the spring mvc annotations: - ...

5. Csutomer @RequestParam Parameter    forum.springsource.org

Hello, my url in my webapplication looks like this. http://localhost/../docId-12344/text Now Iwant to get the docId from the url with @requestparam("docId"). I know that it is not that easy bcause the ...

6. DateTimeFormat and RequestParam(required=false)    forum.springsource.org

DateTimeFormat and RequestParam(required=false) For one of my controller calls I have an optional request param (@RequestParam(required=false)) that also has an @DateTimeFormat annotation with a specified pattern. The datatype is standard java.util.Date. ...

7. 2.5 - @RequestParam not behaving like it ought to    forum.springsource.org

2.5 - @RequestParam not behaving like it ought to Hello I'm a little new to 2.5, but I suspect @RequestParam is throwing an exception when it shouldn't (with required=false, and when ...

8. validation of @RequestParam    forum.springsource.org

9. How can i get specail characters from @RequestParam    forum.springsource.org





10. @RequestParam with comma-delimited splitting    forum.springsource.org

@RequestParam with comma-delimited splitting Hey folks, I've a problem to retrieve an array of request values in my controller. Platform : Spring core + Spring MVC 2.5.2 My Controller (declared as ...

11. Binding a RequestParam    forum.springsource.org

Hi, I am trying to use my custom PropertyEditorSupport editor as a converter of url variables to the correct object. I have the following code Code: @RequestMapping("/secure/editInvoice_getAllPeopleInCompany.htm") public String getAllPeopleInCompany(ModelMap model, ...

12. @RequestParam with Lists    forum.springsource.org

@RequestParam with Lists I'm trying to bind a series of parameters to a List or Array (order matters) and I'm using the RequestParam annotation. How do I go about passing the ...

13. Spring @RequestParam is not working    forum.springsource.org

Spring @RequestParam is not working Hi, I am a new to spring annotations. Security is working without any issue the main problem is while trying to access controller using RequestParam unable ...

14. @RequestParam with custom object    forum.springsource.org

@RequestParam with custom object I have an 'advanced search' page (A) that needs to submit (using GET method) to a Controller. In the end, that controller should forward to an 'advanced ...

15. @RequestParam + @PathVarible    forum.springsource.org

@RequestParam + @PathVarible Hello everyone, I'm having this issue that I can't seem to solve, let me show you. I have this method on my controller: Code: @RequestMapping(value = "/inventory/pepe/{firstName}/{lastName}", method ...

16. Inconsistent behavior with (AT)RequestParam    forum.springsource.org

Inconsistent behavior with (AT)RequestParam Hi, We have run into an interesting and very disturbing problem. If you are using Spring Web 2.5.6 with annotations, I encourage you to read this. Here's ...





17. @RequestParam and Boolean fields    forum.springsource.org

When a page contains a checkbox, and its containing form is submitted, browsers do the following. - if the checkbox is checked, it is submitted with its 'value' attribute as a ...

18. How to validate @RequestParam?    forum.springsource.org

My question is straightforward and simple, but I cannot find a good way to validate request parameters with the annotation syntax for controllers. What is the best way to do it? ...

19. @RequestAttribute -> similar to @RequestParam    forum.springsource.org

Hi, I would like an annotation similar to @RequestParam, though it pulls the values from the request attribute rather than the request param... Is there an example or explanation how to ...

20. @RequestParam parameter types    forum.springsource.org

I haven't found any docs which explain the exact types of method parameters which are annotated with @RequestParam. What types can be annotated? So far I can see that Java strings ...

21. @RequestParam    forum.springsource.org

Hi, Can someone hlep in understanding the advantage or idea of coming up with @RequestParam? I am referring to annotated WEB MVC where @RequestParam is defined as Annotation which indicates that ...

22. Custom class on @RequestParam    forum.springsource.org

@RequestMappring("/") public void myHandler(@RequestParam("employe") Employe e){ //... } class Employe{ String name; int id; // getters and setters }

23. SpringWeb 3.0.1 breaks @RequestParam    forum.springsource.org

Any non-mandatory @RequestParam will now get a strange default value of "\n\t\t\n\t\t\n\uE000\uE001\uE002\n\t\t\t\t\n" , instead of earlier blank value, meaning that any checks that relied on request parameter to be blank, are ...

24. @RequestParam failing to work (sometimes)    forum.springsource.org

Apr 14th, 2010, 08:16 AM #1 bigadjaye View Profile View Forum Posts Private Message Junior Member Join Date Dec 2009 Posts 4 @RequestParam failing to work (sometimes) Hi all, Code: @RequestMapping(method ...

25. Need idea other then @RequestParam    forum.springsource.org

Need idea other then @RequestParam Hi Guy, I'm newbie to Spring 3.0 and in this forums, I have started with the testing and have figure out how to use the @RequestParam ...

26. @RequestParam and Enum type    forum.springsource.org

Hi I am using spring 3.0.2.RELEASE. Maby it's a normal behaviour since enum can have contructor with multiple parameter. For simple enum it would have been a great idea to do ...

27. @RequestParam doesn't seem to be decoded    forum.springsource.org

@RequestParam doesn't seem to be decoded Hi all I'm having a problem with a @RequestParam that gets passed in via querystring, and was hoping someone could point me in the right ...