There are no JSPs. All HTML. This is retrieved by another site.

rgds
Antony Paul
----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, September 29, 2004 12:17 PM
Subject: Re: Rendering javascript using Action


> 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]
>
>

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

Reply via email to