put( 1, " a" ) ;. 报错: Syntax error on token " int", Dimensions expected after this token. json; import java. IOException; import java. HashMap; import java. ERROR in / home/ user/ liferayproject/ sdk/ hooks/ sample- hook/ docroot/ WEB- INF/ src/ fr/ ucly/ liferay/ hook/ sample/ SampleStrutsAction. java ( at line 53). Spring MVC HashMap mapping tutorial. On form submission, Spring will parse the values from request and fill the ContactForm bean and pass it to the controller. ID and NAME tokens must begin with a letter ( [ A- Za- z] ) and may be followed by. What is the path need to be mentioned for form: errors tag.