I found an answer on my own:
@RequestMapping(value = "/{id}")public String id(@PathVariable("id")Long id, Map<String, Object> model) { // id can be used like a normal variable and also can have other types (String,...)} For a full example look at this java-spring-sample <https://github.com/heroku/java-spring-sample/blob/master/src/main/java/com/springsource/petclinic/web/OwnerController_Roo_Controller.aj> -- -- You received this message because you are subscribed to the Google Groups "Heroku" group. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/heroku?hl=en_US?hl=en --- You received this message because you are subscribed to the Google Groups "Heroku Community" group. To unsubscribe from this group and stop receiving emails from it, send an email to heroku+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.