-
Jan 6th, 2009, 09:42 AM
#1
Exception using <spring:bind> tag ?
I have downloaded a login example with spring mvc . In the login page it has <spring:bind> tag . when I deployed it and running the example I am getting the following exception in my browser .
LoginCommand is a bean in my application with setter and getter methods.
exception
org.apache.jasper.JasperException: Neither Errors instance nor plain target object for bean name 'loginCommand' available as request attribute
org.apache.jasper.servlet.JspServletWrapper.handle JspException(JspServletWrapper.java:460)
org.apache.jasper.servlet.JspServletWrapper.servic e(JspServletWrapper.java:355)
org.apache.jasper.servlet.JspServlet.serviceJspFil e(JspServlet.java:329)
org.apache.jasper.servlet.JspServlet.service(JspSe rvlet.java:265)
javax.servlet.http.HttpServlet.service(HttpServlet .java:729)
root cause
javax.servlet.ServletException: Neither Errors instance nor plain target object for bean name 'loginCommand' available as request attribute ............
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