Win a copy of Five Lines of Code this week in the OO, Patterns, UML and Refactoring forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
  • Piet Souris
  • Frits Walraven
  • Carey Brown ..." No getter method for property..."

Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I am opening a window that will upload Files using an action. The window opens and I can upload the file, UNLESS I specify some hidden fields for the form bean. Not sure why this is occuring.

The sessionId is the same, not that should matter, the form is specified properly on the jsp and in the struts-config.xml, and the form bean fits the definition of what a bean must be ( 0 arg constructor, naming conventing of fields and getters and setters, etc).

The file upload is the catch: The form is specified as

Is this the issue?

Any comments/ideas are appreciated

Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you added hidden property properly(which matches with the property defined in the form bean class) in the jsp using <hidden/> tag?
[ December 04, 2005: Message edited by: Periakaruppan Thiagarajan ]
Well don't expect me to do the dishes! This ad has been cleaned for your convenience:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
    Bookmark Topic Watch Topic
  • New Topic