Skip to content
This repository has been archived by the owner on Feb 5, 2022. It is now read-only.

Request Data -> Matrix Variable. Return wrong value. #36

Closed
legatoo opened this issue Apr 22, 2015 · 0 comments
Closed

Request Data -> Matrix Variable. Return wrong value. #36

legatoo opened this issue Apr 22, 2015 · 0 comments

Comments

@legatoo
Copy link

legatoo commented Apr 22, 2015

Im new to Spring MVC, thanks to this repository, I learn a lot. I currently face a issue is the return value of Request Data-> Matrix Variable. according to the code:

@RequestMapping(value="{path}/simple", method=RequestMethod.GET)
public @ResponseBody String withMatrixVariable(@PathVariable String path, @MatrixVariable String foo) {
    logger.debug("path is" + path + "foo is " + foo);
    return "Obtained matrix variable 'foo=" + foo + "' from path segment '" + path + "'";
}

it should return that string, but the string shown on the html is "hello world!". I can find where the hello world comes from. Could anyone help?

Besides, withMatrixVariablesMultiple got a 404 error.

Steven

@legatoo legatoo closed this as completed Apr 23, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

1 participant