I'm not sure what your suggesting is architecturally a good idea, but
that's for you to decide :)  I'm all about helping you make it happen
regardless, so...

In addition to the options others have mentioned, another to consider is
the AjaxParts Taglib (APT), a part of Java Web Parts (JWP):

http://javawebparts.sourceforge.net/

More specifically:

http://javawebparts.sourceforge.net/javadocs/javawebparts/ajaxparts/taglib/package-summary.html

This will allow you to fire an AJAX request on a timer, without having to
write any Javascript.  It will work with Struts 1.x, 2.x, or any other
(java-based) framework.

Frank


-- 
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
http://www.omnytex.com
AIM/Yahoo: fzammetti
MSN: [EMAIL PROTECTED]
Author of "Practical Ajax Projects With Java Technology"
 (2006, Apress, ISBN 1-59059-695-1)
Java Web Parts - http://javawebparts.sourceforge.net
 Supplying the wheel, so you don't have to reinvent it!

On Fri, January 19, 2007 9:09 am, Peter Neu wrote:
> Hello,
>
>
>
> in one of my endless attempts to fight the evil browser backward button
> mechanism I was thinging about this:
>
>
>
> Can I make a periodic java script (ajax)  request to determine when a user
> hit the evil button and tries to work
>
> a page that is not current anymore? Say the user hit the back button and
> now
> resides on the "wrong" page
>
> I make a hidden ajax request and determine he is in the wrong pace. Then I
> give him a notice and send him back
>
> to the right place.
>
>
>
> Is this possible? How would I make the periodic request?
>
>
>
> Cheers,
>
> Pete
>
>
>
>
>
>
>
>


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

Reply via email to