You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Thinh Doan <th...@tds.net> on 2001/12/05 18:10:30 UTC
Application root in javascript
In my app., I have a link (<a...> tag) to call a javascript to open a child
window:
function openit(myjsp) {
winprops = 'scrollbars,resizable,menubar';
win = window.open(myjsp, 'childwin', winprops);
}
The problem I have is window.open takes myjsp from its current path,
eventhough I had set <html:base/> in my template. How can I set window.open
to behave like html:base since myjsp.jsp resides in [myapproot]/jsp/?
Thank you very much in advance for your time.
Regards,
Thinh
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>