File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

error retrieving values in jsp using DynaValidatorForm in struts 1

 
shanky raja
Greenhorn
Posts: 17
Eclipse IDE Java
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello All,

I have a small struts 1 application which when executed using ActionForm runs fine but when i use DynaActionForm or DynaValidatorForm i get an error.
I want to display the values entered in one jsp by user in other jsp.
I am using ${addContactForm.fname} in jsp to retrieve the value entered by user in form addContactForm and field fname, but i get the error :-

javax.servlet.ServletException: org.apache.jasper.JasperException: javax.el.PropertyNotFoundException: Property 'fname' not found on type org.apache.struts.action.DynaActionForm

Various files used are as follows:

web.xml


struts-config.xml




addContact.jsp



addContactSuccess.jsp



home.jsp




AddContactAction.java

 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic