Skip to content

Instantly share code, notes, and snippets.

@kasundm5566
Last active October 21, 2016 06:40
Show Gist options
  • Save kasundm5566/a102af08db9d39fc63ab51af17f3911f to your computer and use it in GitHub Desktop.
Save kasundm5566/a102af08db9d39fc63ab51af17f3911f to your computer and use it in GitHub Desktop.
@RequestMapping(value = "/someName", method = RequestMethod.GET)
public ModelAndView viewSignupPage() {
ModelAndView modelAndView=new ModelAndView("demojsp");
modelAndView.addObject("message", "Hello");
return modelAndView; // Open the demojsp.jsp
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment