reset password
Author Message
xieguahu
Posts: 50
Posted 18:11 Oct 30, 2009 |

I implement the OnlineAssignmentDao,

And then OnlineAssignmentDaoImpl,

Add a bean to the spring-data.xml for OnlineAssignmentDao

Then create an OnlineAssignmentsController with return new ModelAndView( "onlineAssignments" ).

Then I create a jsp file onlineAssignments.jsp.

And add a bean to the spring-servlet.xml.

But when I run the server and click the onlineAssignments.html, I got a 404 error.

And the log file shows 2009-10-30 18:06:41,109  WARN PageNotFound: No mapping found for HTTP request with URI [/csns/onlineAssignments.html] in DispatcherServlet with name 'csns'.

Where I should check my problem?

Last edited by xieguahu at 18:13 Oct 30, 2009.
xieguahu
Posts: 50
Posted 19:13 Oct 30, 2009 |

I found out the problem.  I need to refresh before run the application.

Sanaz_6101
Posts: 40
Posted 10:35 Oct 31, 2009 |
xieguahu wrote:

I found out the problem.  I need to refresh before run the application.

 

I have teh same problem as yours and desnt resolve even with refreshing. whatever I create az controller and add it to my servlet-xml and data.xml I can not view it as a page

do u have any idea??