Yes, that's the point.This refresh action need to exist in many pages. looks like it is easy to implement if it can just do a back operation in that action class when false return. But actually as I know the action doesnot provide such operation. So do you have some idea about this?
Regards, Alex
actionFrom: "Geeta Ramani" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: Struts Users Mailing List <[EMAIL PROTECTED]> Subject: Re: how to implement such an action? Date: Wed, 17 Mar 2004 07:16:00 -0500
Alex:
Your initial page is just a jsp, right? So why would you not use your
mapping to say something like if "success then forward to newpage.jsp andif
not forward to samePage.jsp"..? This will work unless you are using thisthe
refresh action in many pages..? In which case, you will have to "remember
page" - and that can be done - but if the simpler solution works, that maybe
best, especially since you say you are a newbie..:)get
Please ignore this note if you have already received emails about your question: our mail server has been *really* slow recently and I can see no replies to your question yet..
Regards, Geeta
chiu alex wrote:
> Hello,everyone,
>
> I want to implement such an action which is actually activated by
> within the meta:refresh tag. (that means it will be called every 30
> seconds). What the action need to do is to make some judgements. If it
> true result, it forward to another page, or else it stays at previouspage
> and do nothing, so user will see no change. Obviously, action need toin
> remember that page, but I do not know how to put it. I am just a newbie
> struts. > So could you kindly give me some clue to it. Thanks! > > Alex > > _________________________________________________________________ > 免费下载 MSN Explorer: http://explorer.msn.com/lccn/ > > --------------------------------------------------------------------- > 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]
_________________________________________________________________
免费下载 MSN Explorer: http://explorer.msn.com/lccn
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]