how to call a function in a .js residing in a different folder,from a jsp.
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Akila_Radhakrishnan
Posted On:   Sunday, May 15, 2005 03:31 AM

hi,
I am having eg.js in a javascript folder. and I would like to access a fucntion of it in a jsp file which is residing in another folder "jsp".How to access it?.
Any pointers pls..
Thanks in advance.

Re: how to call a function in a .js residing in a different folder,from a jsp.

Posted By:   Anonymous  
Posted On:   Tuesday, May 17, 2005 02:14 AM

Hi just follow the steps

1)Let's suppose ur script file is in myscript folder.Put this folder along with jsp folders.

2) Add the following code to JSP