Hi Arni,
As you know, javascript is executed on client side, against JSP(or Servlet) on server
side.
That is, JSP execute first, then javascript execute.
As a reference, you can write JSP code that generates javascript code.
-----Original Message-----
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Arni Raghu
Sent: Monday, December 27, 1999 9:55 PM
To: [EMAIL PROTECTED]
Subject: jsp javascript..
Hi,
I am using the JWS from Sun..
I want to use Javascript and jsp together in a page..like
<script>
if(confirm("you wanna")) {
<%@ include file="abc.jsp" %>
}
else {
return false;
}
I tried and it does not seem to be working...any ideas..??
Thx,
Arni
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html