Use an Action as you use a servlet. That is, in the "execute" method there
is the parameter "HttpServletResponse response". Use it and render you
HTML page. You can then "return null;" (it means "forward to nowhere") so
your HTTP response will be made only of your text built inside the Action.
But I think this is not the best way to use an Action. For me, if you want
to render some Javascript, you should make a custom tag and use it in you
JSP page.
Ciao
Antonio Petrelli

Antony Paul wrote:

>Hi all,
>    I have a need to render Javascript. How I can use an Action for this.
>Using Struts 1.1.
>
>rgds
>Antony Paul
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to