location.href will give you the same page... what you want is whatever
the *real* initial page of your app is. For instance, if right now you
would go to index.jsp as the first page, then rename that to index1.jsp
and use that as the argument. The page I gave you would then become
index.jsp.
Frank,
I again tried it and now it works.
But what would be the argument to the window.open method.
I am using struts and tiles and all of my uri are like employee.do etc.
I tried doing
window.open(location.href, 'MYAPP', myOpts);
and it went into infinite loop.
Any further
What doesn't work? And what are you trying to accomplish with
history.forward()?
--
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
http://www.omnytex.com
AIM: fzammetti
Yahoo: fzammetti
MSN: [EMAIL PROTECTED]
Java Web Parts -
http://javawebparts.sourceforge.net
Suppl
Hi Frank,
I tried it but could not make it work. Also I am trying something like this.
history.forward();
This also doesnt work. I am using Tiles.
Thanks.
"Frank W. Zammetti" <[EMAIL PROTECTED]> wrote:
I should also mention, you will probably want to have a c
I should also mention, you will probably want to have a check in all other
pages/Actions that looks for some session variable that only gets sets on
this page... if it isn't found, redirect here. That way, people can't
jump into any page in your app they want.
And again, I have to say, some peopl
You have to open your application in a chromeless window. Since you said
the Javascript solved your keyboard problem, you are obviously working in
an IE-only environment, so here's how to do it... Your app must start with
a single page, say index.jsp, which will be:
<%@ page language="java" sessi
Hi Frank,
Thanks for your reply. That solves my problem of back button or other key on
the keyboard. But I still have the problem with the browser back button. I am
using Tiles.
It would be nice if you can provide any pointers.
Thanks.
"Frank W. Zammetti" <[EMAIL PROTECTED]> wr
Marked OT... this isn't Struts-related...
There isn't any way to do it cross-browser that I am aware of, and there
isn't any way to do it definitively. However, because you say you are
working on an Intranet application, you may have some options that you
otherwise might not...
First thing,
8 matches
Mail list logo