Announcement Announcement Module
Collapse
No announcement yet.
ServletException:Invalid argument looking up property...... Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • ServletException:Invalid argument looking up property......

    When I deploy my application in Tomcat I get the following error:
    javax.servlet.ServletException: Invalid argument looking up property account.username of bean workingAccountForm

    The error appears when i choose to edit my account(EditAccountForm.do) that apply input from my EditAccountForm.jsp form.

    When I choose to register for a new account the NewAccountAction.do execute with no errors.

    Maybe it's important to tell that i use one formbean(AccountActionForm) as well for a new account and edit account.

    The EditAccountForm.jsp and NewAccountForm.jsp are nearly the same with equal property's(firstName,lastName,email,...).

    By new Account event everything is going well, but when editing the account i get the error below.

    Can someone tell me please what i am doing wrong, because i can't see it

    Thanks for you're help,

    //////////////////////////////////////Log///////////////////////////////////////
    javax.servlet.ServletException: Invalid argument looking up property account.username of bean workingAccountForm
    org.apache.jasper.runtime.PageContextImpl.doHandle PageException(PageContextImpl.java:848)
    org.apache.jasper.runtime.PageContextImpl.handlePa geException(PageContextImpl.java:781)
    org.apache.jsp.pages.EditAccountForm_jsp._jspServi ce(org.apache.jsp.pages.EditAccountForm_jsp:106)
    org.apache.jasper.runtime.HttpJspBase.service(Http JspBase.java:97)
    javax.servlet.http.HttpServlet.service(HttpServlet .java:802)
    org.apache.jasper.servlet.JspServletWrapper.servic e(JspServletWrapper.java:322)
    org.apache.jasper.servlet.JspServlet.serviceJspFil e(JspServlet.java:291)
    org.apache.jasper.servlet.JspServlet.service(JspSe rvlet.java:241)
    javax.servlet.http.HttpServlet.service(HttpServlet .java:802)
    org.apache.struts.action.RequestProcessor.doForwar d(RequestProcessor.java:1056)
    org.apache.struts.action.RequestProcessor.processF orwardConfig(RequestProcessor.java:388)
    org.apache.struts.action.RequestProcessor.process( RequestProcessor.java:231)
    org.apache.struts.action.ActionServlet.process(Act ionServlet.java:1164)
    org.apache.struts.action.ActionServlet.doGet(Actio nServlet.java:397)
    javax.servlet.http.HttpServlet.service(HttpServlet .java:689)
    javax.servlet.http.HttpServlet.service(HttpServlet .java:802)

    ////////////////////////////////////////////////////////////////////////////////
Working...
X