-
Jun 27th, 2008, 05:38 AM
#1
<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.
-
Jun 27th, 2008, 07:45 AM
#2
Please post your JSP code. I think the problem lies in there.
-
Jun 27th, 2008, 09:11 AM
#3
<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.
-
Jun 27th, 2008, 09:26 AM
#4
my jsp code is here.
HI gnandiga,
I AM SENDING OUR JSP FILE IN ATTATCHMENT.
THANKS FOR UR REPLY
-
Jun 27th, 2008, 09:47 AM
#5
try this:
<c:if test="${not empty status.errorMessage}">
<c:out value="${status.errorMessage}"/>
</c:if>
Try if that helps.
-
Jun 28th, 2008, 01:19 AM
#6
<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..
-
Jun 28th, 2008, 08:39 AM
#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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules