Skip to content

Instantly share code, notes, and snippets.

@MulticolorWorld
Last active August 29, 2015 14:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MulticolorWorld/e8e79bc56adc73578797 to your computer and use it in GitHub Desktop.
Save MulticolorWorld/e8e79bc56adc73578797 to your computer and use it in GitHub Desktop.
@Controller
@RequestMapping("/hoge")
public class HogeController{
@RequestMapping(method = RequestMethod.GET)
public String hoge(){
return "hoge"; //cssが適用される
}
@RequestMapping(value = "fuga", method = RequestMethod.GET)
public String fuga(){
return "fuga"; //cssが適用されない(staticと階層がズレる)
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment