2008/12/18 elyes sallem <elyes.sal...@gmail.com>:
> my question was :
>>i wanna call javascript from an action class,
>>any one has an example?
> so if an action is a html for you, sorry, but now i'm too busy to explain to
> you the difference

Ok I try to explain myself.
To show a popup in a browser you need a Javascript code that does it.
A Javascript code needs an HTML page.
An HTML page is generated by a JSP page.
A JSP page is called by an action.
An action sets some flag to make a piece of JSP page appear.
This piece of JSP contains Javascript code to be rendered in HTML.
The browser invokes everything, the Javascript is rendered and
executed and the popup magically appears.


> have a nice day ...

You too.

Antonio

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

Reply via email to