Announcement Announcement Module
Collapse
No announcement yet.
<Spring: bind path="command"> Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • <Spring: bind path="command">

    Hi i am new for spring..

    whe i retrive the value from database on the form i got the following error,

    can anybody help form following error...

    Could not find Errors instance for bean 'prod' in request: add the Errors model to your ModelAndView via errors.getModel().

    Thanks.

  • #2
    Please post your JSP code. I think the problem lies in there.

    Comment


    • #3
      &lt;Spring: bind path=&quot;command&quot;&gt;

      hi gnandiga,

      actully here is some problem to post my jsp code so kindly give me ur email id so that i send out jsp page to u...

      pls help me oout if possible.

      Thanks for ur reply.

      Comment


      • #4
        my jsp code is here.

        HI gnandiga,

        I AM SENDING OUR JSP FILE IN ATTATCHMENT.

        THANKS FOR UR REPLY

        Comment


        • #5
          try this:

          <c:if test="${not empty status.errorMessage}">
          <c:out value="${status.errorMessage}"/>
          </c:if>

          Try if that helps.

          Comment


          • #6
            &lt;Spring: bind path=&quot;command&quot;&gt;

            Hi gnandiga,

            I am using that but it's not helpful for me kindly give me some sample code,
            which may be helpful for me or give complete info abt this...

            thanks for ur reply,
            i am waiting...

            bye..

            Comment


            • #7
              The problem with your code is that you are trying to utilize errorMessage even when it is not set. Try not doing that.

              That is all i can help you with.

              Regards

              Comment

              Working...
              X