Exception creating bean of class hello.HelloForm: {1}

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • madhoriya22
    Contributor
    • Jul 2007
    • 251

    #1

    Exception creating bean of class hello.HelloForm: {1}

    Hi,
    I am getting this exception while deploying my struts application. How can I solve this problem. Here is the stack trace of the exception :

    org.apache.jasp er.JasperExcept ion: Exception in JSP: /index.jsp:14

    11: <html:image src="duke.wavin g.gif"></html:image>
    12: <h3>Hello, My name is Duke. What is your's ?</h3>
    13:
    14: <html:form action="hello.d o">
    15: <html:text property="userN ame"/><br>
    16: </html:form>
    17:
  • ajos
    Contributor
    • Aug 2007
    • 283

    #2
    Originally posted by madhoriya22
    Hi,
    I am getting this exception while deploying my struts application. How can I solve this problem. Here is the stack trace of the exception :

    org.apache.jasp er.JasperExcept ion: Exception in JSP: /index.jsp:14

    11: <html:image src="duke.wavin g.gif"></html:image>
    12: <h3>Hello, My name is Duke. What is your's ?</h3>
    13:
    14: <html:form action="hello.d o">
    15: <html:text property="userN ame"/><br>
    16: </html:form>
    17:
    What happens when you write <html:form action="hello.d o" name="formName" type="package.F ormName"> ?

    You dont have to write the .do extention here.

    Comment

    • madhoriya22
      Contributor
      • Jul 2007
      • 251

      #3
      Originally posted by ajos
      What happens when you write <html:form action="hello.d o" name="formName" type="package.F ormName"> ?

      You dont have to write the .do extention here.
      Hi,
      Thanks ... Its done now.

      Comment

      Working...