Demosite Login/Register page error
Posted: Thu Jun 13, 2013 1:08 am
In Demosite, I am facing a strange behaviour...
For request mapping
@RequestMapping("/register") or @RequestMapping("/login") is not working.. Requestmapping handler method shows null. It is been redirected to category handler mapping defined by BLC, where it couldnt find category for given url, so throws error...
[ WARN] 11:18:17 PageNotFound - No mapping found for HTTP request with URI [/mycompany/mycompany/register] in DispatcherServlet with name 'mycompany'
whereas if I map it to @RequestMapping("/mycompany/register") it is directed to register page.. register page loads thorugh Requestmapping handler.. Not redirected to category handler.
But search controller mapped similarly @RequestMapping("/search") works perfect.. Directed to Requestmapping handler method and controller is called...
I believe the above error is because of the extra prefix ("mycompany") being added somewhere.. I didnt make any changes in code, i am just debugging..
help me to resolve this..
For request mapping
@RequestMapping("/register") or @RequestMapping("/login") is not working.. Requestmapping handler method shows null. It is been redirected to category handler mapping defined by BLC, where it couldnt find category for given url, so throws error...
[ WARN] 11:18:17 PageNotFound - No mapping found for HTTP request with URI [/mycompany/mycompany/register] in DispatcherServlet with name 'mycompany'
whereas if I map it to @RequestMapping("/mycompany/register") it is directed to register page.. register page loads thorugh Requestmapping handler.. Not redirected to category handler.
But search controller mapped similarly @RequestMapping("/search") works perfect.. Directed to Requestmapping handler method and controller is called...
I believe the above error is because of the extra prefix ("mycompany") being added somewhere.. I didnt make any changes in code, i am just debugging..
help me to resolve this..