Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

spring url parameter

@RequestMapping("/{someID}")
public @ResponseBody int getAttr(@PathVariable(value="someID") String id, 
                                 @RequestParam String someAttr) {
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #spring #url #parameter
ADD COMMENT
Topic
Name
6+7 =