On Sun, Dec 08, 2002 at 10:11:39PM -0500, Amit Gupta wrote: > Can we have JSP expression inside javascript? I have javascript which is > generating tree structure but I want to have JSP expression inside the tree. > If anybody knows how to put this I will appreciate if somebody forward me > example or link.
I don't know, but I suspect not. You cannot have javascript inside javascript, if I recall correctly. I suspect that the syntax of JSP too closely resembles the javascript syntax, and will choke the javascript interpreter. Then again, why not try it and find out? Steven J. Owens [EMAIL PROTECTED] "I'm going to make broad, sweeping generalizations and strong, declarative statements, because otherwise I'll be here all night and this document will be four times longer and much less fun to read. Take it all with a grain of salt." - Me at http://darksleep.com =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com