Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Simple navigation rule

 
Andrzej Cichon
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to create simply register site, after all I want redirect to 'success' page. I use Spring MVC.

web.xml:

dispatcher-servlet.xml:

UserController.java:


dispatcher-servlet.xml:

UserController.java:


In User.java there are simply getters and setters, In UserDAO simply save/delete provided methotrds by hibernate. I know it works.
After I click "http://localhost:8080/RestFinderWebApp/rejestracja.htm", it works, after i click: "submit" button, server crashed and it says:
WARNING: No mapping found for HTTP request with URI [/RestFinderWebApp/register.htm] in DispatcherServlet with name 'dispatcher'
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic