Missing message for key "prompt.customer.firstname"

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ramprakashjava
    New Member
    • Mar 2009
    • 15

    #1

    Missing message for key "prompt.customer.firstname"

    hi ,
    i hav this error while running this customerDetails .jsp
    <html:html>
    <head>
    <html:base/>
    </head>
    <body>
    <html:errors/>
    <html:form action="/submitCustomerF orm">
    <bean:message key="prompt.cus tomer.firstname "/>
    <html:text property ="firstName" size="16" maxlength="16"/>
    <br>
    <bean:message key="prompt.cus tomer.lastname"/>
    <html:text property ="lastName" size="16" maxlength="16"/>
    <br>
    <html:submit>
    <bean:message key="button.sav e"/>
    </html:submit>
    &nbsp;
    <html:cancel>
    <bean:message key="button.can cel"/>
    </html:cancel>
    </html:form>
    <h2>Ramprakas h</h2>
    </body>

    And App1Messages.pr operties file is
    prompt.customer .firstname=Firs t Name
    prompt.customer .lastname=Last Name

    button.save=Sav e Me
    button.cancel=C ancel Me
  • chaarmann
    Recognized Expert Contributor
    • Nov 2007
    • 785

    #2
    Which error?
    Missing ending </html:html> ?

    This is Java forum, but you have no javacode here, only "html-struts".
    And please use code-tags for your code.

    Comment

    Working...