File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes ... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark " ..." No getter method for property..." " Watch " ..." No getter method for property..." " New topic
Author ..." No getter method for property..."

Christopher McCauley

Joined: Jan 03, 2005
Posts: 27

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


JCM<br />good at cookin'
Periakaruppan Thiagarajan
Ranch Hand

Joined: Jul 26, 2005
Posts: 65
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 ]
I agree. Here's the link:
subject: ..." No getter method for property..."
It's not a secret anymore!