Results 1 to 7 of 7

Thread: <Spring: bind path="command">

  1. #1

    Smile <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. #2
    Join Date
    Oct 2006
    Posts
    100

    Default

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

  3. #3

    Default <Spring: bind path="command">

    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.

  4. #4

    Default my jsp code is here.

    HI gnandiga,

    I AM SENDING OUR JSP FILE IN ATTATCHMENT.

    THANKS FOR UR REPLY
    Attached Files Attached Files

  5. #5
    Join Date
    Oct 2006
    Posts
    100

    Default

    try this:

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

    Try if that helps.

  6. #6

    Default <Spring: bind path="command">

    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..

  7. #7
    Join Date
    Oct 2006
    Posts
    100

    Default

    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •