• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

error retrieving values in jsp using DynaValidatorForm in struts 1

 
Greenhorn
Posts: 17
Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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

 
Brace yourself while corporate america tries to sell us its things. Some day they will chill and use tiny ads.
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic