Try using full path of the file to be included..
Something like:
<script
src=""/>> Another thing I observed is... When I looked at the formatted
> source using FireFox's plug-in, with struts pages I can see the
> source with no problems, but for the source of jsf pages (with the
> above script ), I get a File Not Found (404) error in the formatted
> source.
This is the expected behaviour. The relative path mapping is different in IE and other browsers like firefox or Netscape.
----- Original Message -----
From: "Srikanth Madarapu" <[EMAIL PROTECTED]>
To: "Apache My Faces (E-mail)"
Subject: script is not found in JSF
Date: Tue, 21 Jun 2005 09:07:28 -0400
>
> Hi
>
> I have the following lines in struts pages and it works fine.
>
>
>
> When I put the same lines in a verbatim tag in jsf pages, the
> browser cannot find the .js file. Is there a special way of
> including _javascript_ for jsf files ?
>
>
>
> TIA
>
> -Srikanth Madarapu
--
___________________________________________________________
Sign-up for Ads Free at Mail.com
http://www.mail.com/?sr=signup

