hi parag,
u keep the js file in the directory where ur personal web server is running.
If u are using the servletrunner then u will have to use personal web server
for loading the images , .css and .js files.
or the  u will have to load all these files by loading them usinf the
servlet.
But this is not  a good option,
so u install the personal webserver in ur system and then put ur .js file in
the directory. it will be usually
------------------------------------------
**  c:\Inetpub\wwwroot\YourFileName.js
------------------------------------------
so then it will load the .js file and if u are using images and .css files u
keep all of them in the same directory and give the path of the machine
along with the path.
like
for javascript you can using something like this,

<script language="javascript" src="http://<machine IP
address>/YourFileName.js"></script>

here the assumption is that the file(YourFileName.js) is in the directory
that is specified above **

ok then

happy servlet programming,
have fun

bye
nebu

-----Original Message-----
From: Parag Agarwal [mailto:[EMAIL PROTECTED]]
Sent: Monday, November 27, 2000 2:24 PM
To: [EMAIL PROTECTED]
Subject: running .js file in servlet runner


hi, is it possible to call a .js(javascript) file in servletrunner?
when i am trying to call a .js file it says that file is not found. i have
put the .js file in the same folder as the servlet(examples folder). my
platform is Win NT.
thanx in advance for the help,
Parag

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to