Index: web-module/src/main/java/egovframework/api/menu/controller/AnonymousMenuController.java
===================================================================
diff -u -r3cf13cb8bad6bf58fa47db7775158af34554527b -rfaab6a06a08328b0afc0488a8963424032707c0e
--- web-module/src/main/java/egovframework/api/menu/controller/AnonymousMenuController.java (.../AnonymousMenuController.java) (revision 3cf13cb8bad6bf58fa47db7775158af34554527b)
+++ web-module/src/main/java/egovframework/api/menu/controller/AnonymousMenuController.java (.../AnonymousMenuController.java) (revision faab6a06a08328b0afc0488a8963424032707c0e)
@@ -151,5 +151,4 @@
return modelAndView;
}
-
-}
+}
\ No newline at end of file
Index: web-module/src/main/java/egovframework/api/menu/controller/RestMenuController.java
===================================================================
diff -u
--- web-module/src/main/java/egovframework/api/menu/controller/RestMenuController.java (revision 0)
+++ web-module/src/main/java/egovframework/api/menu/controller/RestMenuController.java (revision faab6a06a08328b0afc0488a8963424032707c0e)
@@ -0,0 +1,25 @@
+package egovframework.api.menu.controller;
+
+import egovframework.com.ext.jstree.support.mvc.GenericAbstractController;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+import org.springframework.ui.ModelMap;
+import org.springframework.web.bind.annotation.*;
+import org.springframework.web.servlet.ModelAndView;
+
+import javax.servlet.http.HttpServletRequest;
+
+@RestController
+@RequestMapping("/api/v1")
+public class RestMenuController extends GenericAbstractController {
+
+ private final Logger logger = LoggerFactory.getLogger(this.getClass());
+
+ @RequestMapping(value="/restController/{testStr}",method=RequestMethod.GET)
+ public ModelAndView getNode(@PathVariable(value ="testStr") String testStr, ModelMap model,
+ HttpServletRequest request) throws Exception {
+ ModelAndView modelAndView = new ModelAndView("jsonView");
+ modelAndView.addObject("result", testStr);
+ return modelAndView;
+ }
+}
Index: web-module/src/main/webapp/WEB-INF/config/egovframework/springmvc/egov-com-servlet.xml
===================================================================
diff -u -r9721434bdbeb3576c8a355795b0e3c15963f8976 -rfaab6a06a08328b0afc0488a8963424032707c0e
--- web-module/src/main/webapp/WEB-INF/config/egovframework/springmvc/egov-com-servlet.xml (.../egov-com-servlet.xml) (revision 9721434bdbeb3576c8a355795b0e3c15963f8976)
+++ web-module/src/main/webapp/WEB-INF/config/egovframework/springmvc/egov-com-servlet.xml (.../egov-com-servlet.xml) (revision faab6a06a08328b0afc0488a8963424032707c0e)
@@ -8,6 +8,7 @@
+
Index: web-module/src/main/webapp/WEB-INF/web.xml
===================================================================
diff -u -rcb0b688a31a9945d30ba4db50ad698a9ad10ed1e -rfaab6a06a08328b0afc0488a8963424032707c0e
--- web-module/src/main/webapp/WEB-INF/web.xml (.../web.xml) (revision cb0b688a31a9945d30ba4db50ad698a9ad10ed1e)
+++ web-module/src/main/webapp/WEB-INF/web.xml (.../web.xml) (revision faab6a06a08328b0afc0488a8963424032707c0e)
@@ -55,12 +55,7 @@
spring
*.do
- /api/
- /connect/
- /signin/
- /auth/
- /services/
- /userpage
+ /