Author | Message |
---|---|
Sanaz_6101
Posts: 40
|
Posted 11:22 Oct 30, 2009 |
Hi what can be a reason of not showing the page and redirect it to index.html?? for example in oreder to view all users we have a link under resources which called users and once I click on it ,it just redirect me to index.html .its really hard to debug and find it .I have my controller and jsp and my bean inside my spring-servlet.xml and also the link in header.jspf . would you plase tell me what can be a reason of it? Thank you |
cysun
Posts: 2935
|
Posted 11:29 Oct 30, 2009 |
It's some kind of 404 error. Check the URL mapping in spring-servlet.xml and the view name in the controller. |
Sanaz_6101
Posts: 40
|
Posted 11:35 Oct 30, 2009 |
|
cysun
Posts: 2935
|
Posted 11:37 Oct 30, 2009 |
Check the log file. |
Sanaz_6101
Posts: 40
|
Posted 11:51 Oct 30, 2009 |
|
cysun
Posts: 2935
|
Posted 20:40 Oct 30, 2009 |
Check more carefully. Compiler doesn't lie. |