| Author |
Moving javascript with scriptlets to a separate file
|
Lavanya Mothilal
Ranch Hand
Joined: Dec 27, 2007
Posts: 30
|
|
Hi there, I am trying to move a javascript present inside a JSP to a separate file. But the javascript doesnt work after moving because it contains some scriptlets . Is there a way which makes the javascript to work ?
|
Thanks,<br />Lavanya
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56224
|
|
|
Scriptlets will, of course, only be processed if they are in a JSP. Moving the JavaScript template text containing scriptlets to a .js file prevents the scriptlets from ever being processed.
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
 |
|
|
subject: Moving javascript with scriptlets to a separate file
|
|
|