facebook

Spring tutorial Form Error

  1. MyEclipse IDE
  2.  > 
  3. Off Topic
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #269948 Reply

    Hello,
    i followed example from give below URL

    http://www.springframework.org/docs/MVC-step-by-step/Spring-MVC-step-by-step.html

    it wored fine when reached to step (3) simpleFormcontroler found an error

    —————————————————————————————————

    description The server encountered an internal error () that prevented it from fulfilling this request.

    exception

    javax.servlet.ServletException: ModelAndView [ModelAndView: materialized View is [null]; model is {command=com.bus.PriceIncrease@e2433b, org.springframework.validation.BindException.command=org.springframework.validation.BindException: BindException: 0 errors}] neither contains a view name nor a View object in servlet with name ‘springapp’
    org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:956)
    org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:744)
    org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:663)
    org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:394)
    org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:348)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    ———————————————————————————————————-

    any one help me out, i m new to spriing world.

    Thanks
    Faisal khan

    #269965 Reply

    Riyad Kalla
    Member

    Moving to OT > Soft Dev

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Spring tutorial Form Error

You must be logged in to post in the forum log in