Try
   <action name="SomeAction" class="com.some.path.to.youAction" >
           <param name="nameOfAttribute">Value you want</param>

Make sure your action has the method that match accessors for the attribute.
In the case above, you need
 public String  setNameOfAttribute(String va){
}

Hope this helps.

Harring

On 3/14/07, Lim Hock-Chai <[EMAIL PROTECTED]> wrote:

is there a way to set a property of a java form bean from
struts-config.xml?

I try to use set-property and it is not working.




--
Sincerely,

Harring Figueiredo
Sr. Software Engineer
Email: [EMAIL PROTECTED]
Telephone: 941-256-0600

"We never become truly spiritual by sitting down and wishing to become so.
You must undertake something so great that you cannot accomplish it
unaided."

Reply via email to