----- Original Message -----
From: Guilherme - PerConsult <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, December 07, 1999 10:42 AM
Subject: include .JS doesn`t work


> Hi...
>
> I`m trying to include a JS file in my JSP like this:
>
> > <%@ include file="test.js" %>

There are two include directives.

<%@ include> parses the included file.

Use <jsp:include page="test.js"> to include your JavaScript as data.

<script language="JavaScript"><jsp:include page="test.js"></script> should
include the JavaScript and pass it on to the browser.


> This file test.js works with the form, to see if the user completed all
> the fields, and those things....  but it isn`t work.... why???
>
> Thank you!
> guilherme
>
>
===========================================================================
> 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

Reply via email to