JSP inside Javascript

2002-12-08 Thread Amit Gupta
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. Thanx Amit ==

Re: JSP inside Javascript

2002-12-08 Thread Steven J. Owens
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

Re: JSP inside Javascript

2002-12-08 Thread Richard Yee
Yes you can. You need to remember, however, that the JSP expression will be evaluated on the server before the page is rendered at the client. The JSP expression should output valid JavaScript. Regards, Richard At 10:11 PM 12/8/2002 -0500, you wrote: Can we have JSP expression inside javascript

Re: JSP inside Javascript

2002-12-08 Thread Vikramjit Singh
> -Original Message- > From: Amit Gupta [mailto:[EMAIL PROTECTED]] > Sent: Monday, December 09, 2002 8:42 AM > To: [EMAIL PROTECTED] > Subject: JSP inside Javascript > > > Can we have JSP expression inside javascript? I have > javascript which is > generatin

Re: JSP inside Javascript

2002-12-09 Thread M. Simms
d reference > [mailto:[EMAIL PROTECTED]]On Behalf Of Richard Yee > Sent: Monday, December 09, 2002 12:22 AM > To: [EMAIL PROTECTED] > Subject: Re: JSP inside Javascript > > > Yes you can. You need to remember, however, that the JSP > expression will be > evaluated on the

Re: JSP inside Javascript

2002-12-09 Thread Partha Ranjan Das
else document.write(defaulttext1+" onclick=\"return fn1();\" "+defaulttext2); -Original Message- From: M. Simms [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 10, 2002 9:51 AM To: [EMAIL PROTECTED] Subject: Re: JSP

Re: JSP inside Javascript

2002-12-10 Thread Francisco Manuel Martínez Suárez
: [EMAIL PROTECTED] > Asunto: JSP inside Javascript > > 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