I think you can use html:rewrite.

<a href="test" class="redbold"
     onClick="TestWindow=window.open('<html:rewrite page="?LINK.do?"
/>','TestWindow',

'toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=yes,
 resizable=no,         width=620,height=250,left=20,top=20'); return
false;">
     Test Link</a>

Richard Raquepo wrote:

> yes by using the html:link , but i want to control the size of the created
> window? how can it be done?
> ----- Original Message -----
> From: "Claude Betancourt" <[EMAIL PROTECTED]>
> To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> Sent: Thursday, April 03, 2003 1:51 PM
> Subject: Re: url rewriting
>
> > the session is attached to the browser instance and not the individual
> > window, so by popping a new window with a new action you'll carry the same
> > session attributes without the need to specify the session id.
> > -c
> >
> > ----- Original Message -----
> > From: "Richard Raquepo" <[EMAIL PROTECTED]>
> > To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> > Sent: Thursday, April 03, 2003 12:56 AM
> > Subject: url rewriting
> >
> >
> > i have this kind of link that will open a new window:
> >
> >     <a href="test" class="redbold"
> >     onClick="TestWindow=window.open('?LINK.do?','TestWindow',
> >
> 'toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=yes,
> > resizable=no,         width=620,height=250,left=20,top=20'); return
> false;">
> >     Test Link</a>
> >
> > i wan't to be able to transfer my current session to the new browser? what
> > tag should i use so that i can passed the current sessionid in the
> ?LINK.do?
> > ?
> >
> > or is it possible to use <html:link> tag that has a new window with my
> > parameters in it?
> >
> > thanks a lot...
> >
> >
> > ---------------------------------------------------------------------
> > 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