You should probably use something like

top.Frame.location.href = '<html:rewrite page="/action.do"/>?action=main';

--
Voytek Jarnot
Quidquid latine dictum sit, altum viditur.


> -----Original Message-----
> From: Ray Madigan [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, February 20, 2003 11:49 AM
> To: Struts Users Mailing List
> Subject: RE: JavaScript
> 
> 
> Adding the context path is the answer.  Thanks!
> 
> -----Original Message-----
> From: Raible, Matt [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, February 20, 2003 9:43 AM
> To: 'Struts Users Mailing List'
> Subject: RE: JavaScript
> 
> 
> try including your contextPath in the value for the href, 
> unless of course,
> you have your app installed as the root app.
> 
> > -----Original Message-----
> > From: Ray Madigan [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, February 20, 2003 10:35 AM
> > To: Struts Users Mailing List
> > Subject: JavaScript
> > 
> > 
> > I am using in my application, if you can't tell this from my 
> > previous posts
> > ;-), does anyone else.
> > 
> > I also want to be able to load a frame with a page with 
> > javascript like:
> > 
> > top.Frame.location.href = '/action.do?action=main';
> > 
> > when i do this i get an error = MAPPING configuration error 
> > for request URI
> > 
> > Any suggestions?
> > 
> > Thanks
> > Ray Madigan
> > 
> > 
> > 
> ---------------------------------------------------------------------
> > 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]
> 
> 
> ---------------------------------------------------------------------
> 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