Denis Fefermann wrote:
Hi all,

I am new to STRUTS and to this mailinglist, so please be patient with me.

What I am trying, is to call an action on jsp load.
I guess I need a javasript function which calls an action and 'onload' in my body.

function callAction{
... calling myAction.do

}

<body onload="callAction();" ... >

Can somebody help me with this issue?

In addition to Wes's comments/questions, I'd examine the perceived need for this pretty closely and see if there wasn't another way to do it: depending on the use-case it sounds suspiciously like something that could be wrapped up in a service call and exposed in the action itself.

Dave


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to