The source (src) attribute should work. This can be very helpful if you have common methods that you want to share across multiple pages. <SCRIPT language="JavaScript" src="/struts-bbnpa/javascript/myJavascriptFile.js"></SCRIPT> notice the leading '/' and also, do you have the ending </SCRIPT> tag, this is required as well. As for the js extension... here is an snippet from "HTML: The Definitive Guide" by Oreilly. "The value of the src attribute is the URL of the file containing the JavaScript program. The stored file should have a MIME type of application/x-javascript; but will also be properly handled automatically by a properly configured server if the filename suffix is .js." Looking at my computer, I have the MIME type set. However, I did not set this manually. Either it was a default of windows, or an application that I loaded added it. HTH, Pete Chuck Amadi wrote: > 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. >
begin:vcard n:; x-mozilla-html:FALSE org:<BR><IMG SRC="http://www.irista.com/logo/irista.gif"><BR><BR><FONT Color=#000080><FONT SIZE=2><B>Bringing Vision to Your Supply Chain adr:;;;;;; version:2.1 end:vcard