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 <[email protected]> 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: [email protected]
> For additional commands, e-mail: [email protected]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]