Try this
<%
var cCW = window.open("/addinfo/currency.html?price=" + string +
","currencyConverter","HEIGHT=400,WIDTH=400");
out.println("<script>");
out.println("window.open(cCW)");
out.println("</script>");
%>
Hope this will Help you out
Regards :-)
Kanojia Jogesh(Senior Web Developer)
IG Technologies Ltd,Mumbai
We are in Web Development and B2B Solution provider
----- Original Message -----
From: Caspar van Vroonhoven <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, August 04, 2000 9:28 PM
Subject: Javascript + JSP + Including
> Hey everyone,
>
>
> I've got a little question about using Javascript and JSP together..:
>
> How can I include parameters (..<here he goes again :-)>..) in a window
> constructed by window.open in javascript...
> This particular parameter is requested at the page where the javascript
is,
> so the real question is how to get a JSP string into a javascript one, so
> that it can be put in my statement (if at all possible) like this:
>
> var cCW = window.open("/addinfo/currency.html?price=" + string +
> ","currencyConverter","HEIGHT=400,WIDTH=400");
>
> where the string is supplied by jsp..
> copying the whole <%= ..... %> thing doesn't work, I already tried that..
>
> TIA,
>
> Caspar van Vroonhoven
> www.tradingcars.com
> Amsterdam, The Netherlands
>
>
===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.html
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets