I want to use a variable's value which i am getting through resultset from database in jsp scriptlets in my javascipt code .

i want to display that variable in javascript .

or if you can suggest me how can i use javascript inside scriptlets