Remove the leading slash in your href:
window.opener.location.href=jsp/home.jsp;
-Dan
Thinh Doan wrote:
I open a child window for form inputs and upon successful submit, I'd like
to close this child window and also point the parent window to a specific
page. I got 404 error but don't
Thinh,
Ypou got to use
html:rewrite page=url
which rewrites and sets ur webapp
Regards,
Taati
-Original Message-
From: Thinh Doan [SMTP:[EMAIL PROTECTED]]
Sent: Wednesday, June 05, 2002 12:20 PM
To: Struts-User
Subject: can't find webapp root?
I open a child
Thanks Dan Taati,
I had to remove /jsp and it now works. Great!
Thinh
-Original Message-
From: Dan Hensgen [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 05, 2002 11:33 AM
To: Struts Users Mailing List
Subject: Re: can't find webapp root?
Remove the leading slash in your href
Hi Thinh,
make the location.replace() URL relative to the page you are on - i.e.
../jsp/home.jsp or whatever. Because of the html:base tag, the browser
will know where to go.
Adam
Thinh Doan wrote:
I open a child window for form inputs and upon successful submit, I'd like
to close this child
4 matches
Mail list logo