I believe you have two choices of how to fix this: 1. Move Controllers to controllers.admin package. 2. Change the path to your view in your Controllers. For example:
return new ModelAndView("admin/userList", Constants.USER_LIST, mgr.getUsers(new User())); Matt On Wed, Mar 4, 2009 at 3:52 PM, Rick Fisk <rf...@drivebuytech.com> wrote: > We recently converted one of our apps to 2.0.2. Things went relatively well > but I wanted to move some pages into the admin directory. > > I thought I could just change menu-config.xml to make the desination of a > particular menu item = /admin/page.html > > Modify the dispatcher-servlet.xml to include the pages in the > <adminUrlMapping> section. > > But this doesn't seem to work. I am not sure what step I've left off. Prior > to moving the pages into the pages/admin directory I could get to them but > now I just get 404's. > > Thanks in advance. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net > For additional commands, e-mail: users-h...@appfuse.dev.java.net > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net For additional commands, e-mail: users-h...@appfuse.dev.java.net