Hey,
  I got it working by using a Meta tag to forward it to the right URL.
Thanks for the email though 
Enda

-----Original Message-----
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Laurie Harper
Sent: 09 September 2005 02:52
To: user@struts.apache.org
Subject: Re: <Logic:redirect>

Enda Dowling wrote:
>     Does anyone know is there a way to call an action from a page without
> anything being pressed on the page. Pretty much it is just a temp page to
> forward onto an action.
> 
> I tried a few things like the one below but nothing has worked so far.
> 
> <logic:redirect page="holiday.do?action=create" />

What error do you get with the above? If holiday.do is a valid action, 
and assuming your JSP doesn't generate response text before the redirect 
tag is reached, it should work fine.

Try posting relevant parts of your struts-config.xm and JSP file and the 
error(s) you get.

L.


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