Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

spring boot resource optional request param

public String processForm(@RequestParam(defaultValue="Guest") String name,
        @RequestParam(required = false) String adult) {
Source by zetcode.com #
 
PREVIOUS NEXT
Tagged: #spring #boot #resource #optional #request #param
ADD COMMENT
Topic
Name
4+5 =