Page 1 of 1

Demosite Login/Register page error

Posted: Thu Jun 13, 2013 1:08 am
by bharath0014
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..

Re: Demosite Login/Register page error

Posted: Thu Jun 13, 2013 7:59 am
by jfridye
Which version of the DemoSite are you using? Framework? How are you navigating to /register...via a link on the Heat Clinic site or manually entering http://localhost:8080/register?

Re: Demosite Login/Register page error

Posted: Sun Jun 23, 2013 11:36 pm
by bharath0014
view link... Not manually.. 3.0 beta version...

Re: Demosite Login/Register page error

Posted: Sun Jun 23, 2013 11:38 pm
by bharath0014
One more... Logging in forum through mozilla firefox (version 21.0) has probs... Able to logging in chrome/IE..