Announcement Announcement Module
Collapse
No announcement yet.
Exception using <spring:bind> tag ? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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 ............
Working...
X