Cheers 4 that advice , i did try the javascript declartion and inclued the javascript code directly , thus the jsp worked but no javascript event.Thus i 'll try  the src (source).
I have a created a javascript file at the same level as the CascadeStyle Sheet - ( /struts-bbnpa / css/ graphics ) thus do i do the same i.e ( struts-bbnpa / javascript/ ) and must i add the js extension to javascript file when i amend it later within windows.Thus shall i create html page with the embeded js code within the js file.

cheers chuck ( trying  it out )

  <SCRIPT language="JavaScript" src="myJavascriptFile.js"></SCRIPT>

Or include the javascript code directly:

  <SCRIPT language="JavaScript">
    function myFunct() {}
  </SCRIPT>

and call methods from whichever event you want: onLoad, onClick, etc

HTH,
    Pete

Chuck Amadi wrote:

> I have  placed  the CSS file in my struts-bbnpa( named web app) and
> not directly in WEB-INF directory. but as follows -
> /struts-bbnpa/css/bbnpa.css" same level as WEB-INF
>
> I have used the LINK tag as the href the client's browser should not
> be able to access the style sheet. as demonstrated - works fine .
> CHEERS!!
> <link rel="stylesheet"  href="css/bbnpa.css"
>         charset="ISO-8859-1"
> type="text/css">"/struts-bbnpa/css/bbnpa.css"
> nevertheless how do i embed the javascript within jsp as i had js
> working on my college assignment web-site (a timed window status
> scroll ) albiet wont work on my companies web project. any ideas.
>
> Cheers again chuck
>
>
> --
> The views expressed by the sender of this message don't
> necessarily represent those of Brecon Beacons National Park
> Authority. This message is intended for the addressee(s) only
> and is sent in confidence; if you receive it in error, please can you
> let us know (at [EMAIL PROTECTED]) and then destroy all copies.
> Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn
> adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog.
> Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion
> yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn
> mewn camgymeriad, a fyddech gystal  rhoi gwybod i
> ni (yn [EMAIL PROTECTED]) ac yna dilwch bob copi.
>

--
The views expressed by the sender of this message don't
necessarily represent those of Brecon Beacons National Park
Authority. This message is intended for the addressee(s) only
and is sent in confidence; if you receive it in error, please can you
let us know (at [EMAIL PROTECTED]) and then destroy all copies.
Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn
adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog.
Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion
yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn
mewn camgymeriad, a fyddech gystal â rhoi gwybod i
ni (yn [EMAIL PROTECTED]) ac yna dilëwch bob copi.
 

Reply via email to