Advertisement
Guest User

Untitled

a guest
Jul 24th, 2014
208
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.66 KB | None | 0 0
  1. @Controller
  2. public class TypoWorkflowController {
  3.  
  4. @RequestMapping(value = "/workflow/typo-workflow/moreInfo", method = RequestMethod.GET)
  5. public String serveMoreInfo(@RequestParam(value = "taskId", required=false) String taskId, ModelMap modelMap) {
  6. return "typo-workflow-more-info";
  7. }
  8. }
  9.  
  10. <definition name="typo-workflow-more-info" template="/WEB_INF/jsp/workflow/typo-workflow/moreInfo.jsp"/>
  11.  
  12. @Controller
  13. @Order(value = Ordered.LOWEST_PRECEDENCE)
  14. public class ContentServingController {
  15.  
  16. /* ... */
  17. @RequestMapping({"/*", "/**/*"})
  18. public ModelAndView serveContent(HttpServletResponse response, ModelMap model) {
  19. /* ... */
  20. }
  21. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement