Re: FW: HTTP Connections and timeout - Servlets

2000-08-11 Thread Sangamesh I
Use templates and put all your javascript in to that.So that you need not worry about escapes and slashes .. :) On Thu, 10 Aug 2000, colin yates wrote: Can you not escape the quotes with a slash (i.e.): out.println("document.images[imgName].src=eval(imgObjName + \".src\");"); Just a

Re: FW: HTTP Connections and timeout - Servlets

2000-08-10 Thread karthikeyan
Hi Guys, This is urgent, I am writing a servlet which contains javascript, i somehow need to put double quotes instead of single quote ['src'] into ["src"]. out.println("document.images[imgName].src = eval(imgObjName + '.src');"); so that the servlet generated javascript will look

Re: FW: HTTP Connections and timeout - Servlets

2000-08-10 Thread colin yates
Can you not escape the quotes with a slash (i.e.): out.println("document.images[imgName].src=eval(imgObjName + \".src\");"); Just a thought :-) Col karthikeyan wrote: Hi Guys, This is urgent, I am writing a servlet which contains javascript, i somehow need to put double quotes instead

Re: FW: HTTP Connections and timeout - Servlets

2000-08-10 Thread colin yates
Can you not just escape the quotes: eval(imgObjName + \".src\");); Just a thought :-) Cheers Col ___ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST".

Re: FW: HTTP Connections and timeout - Servlets

2000-08-10 Thread Jiger Patel
Use escape characters for double quotes like this \" \' for single quotes Bye Jiger From: karthikeyan [EMAIL PROTECTED] Reply-To: "A mailing list for discussion about Sun Microsystem's Java Servlet API Technology." [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subjec