Announcement Announcement Module
Collapse
No announcement yet.
Going over the documentation, WebMVC bean instance errors Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Going over the documentation, WebMVC bean instance errors

    I am just starting out and
    ...I am trying to understand the MVC example given on the main spring framework page.

    Mainly with working the form interaction.

    javax.servlet.ServletException: Neither Errors instance nor plain target object for bean name 'pageIncrease' available as request attribute

    http://www.springframework.org/docs/...ep-Part-3.html

    Here is a snippet from the jsp page.

    <form method="post">
    <spring:bind path="pageIncrease.percentage">
    <td width="20%">
    <input type="text" name="percentage">
    </td>
    </spring:bind>
    <input type="submit" alignment="center" value="Execute">
    </form>

    Where is an instance of pageIncrease? found or created.

    Is it created in the controller?

  • #2
    Nevermind, missing file, oops, here is a demo

    I figured it out, missing file. Here is the little demo I am working on.

    http://www.newspiritcompany.com/withspring.html

    Comment

    Working...
    X