cancel
Showing results for 
Search instead for 
Did you mean: 

problem using javascript in dynpages

Former Member
0 Kudos

hi

i have created a simple

Portal Application->abstract portal component ->

then i have created a servlet application

and also a jsp upto here is ok , but the problem

in creating .js file , i have to call a .js from the jsp file

and dont want use .js in the jsp file , i want create

a separate .js file ,

can any one help me out .?

Accepted Solutions (0)

Answers (2)

Answers (2)

0 Kudos

Hi,

Check this:

Regards,

Praveen Gudapati

Former Member
0 Kudos

Hi Murali Krishna,

place the js file which you created in a folder and in the JSP file use the script tag with attributes language and SRC to include the js file you jsp file.

Attributes:

LANGUAGE="JavaScript" SRC="/<path>/<JSFILENAME.js>"

check the link below for further undestanding:

[|]

Thanks,

Ratan