jQuery in Action, 2nd edition*
The moose likes Servlets and the fly likes javascript and jsps Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "javascript and jsps" Watch "javascript and jsps" New topic

javascript and jsps

Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
I am using an old servlet engine and it uses the followin js p tag <SCRIPT runat=server>
This means it is getting confused with a javascript <script> tag and is screwing up the jsp. Any one have any ideas how to get around this???
maha anna
Ranch Hand

Joined: Jan 31, 2000
Posts: 1467
What is the servlet engine are you using? <SCRIPT runat=server> may not be s JSP tag I think.
Does ASP (Active Server Pages) from Microsoft use these kind of script tags? like 'runat=server' or 'runat=client'. Somewhere I read that. But JSP can have <script> </script> tags. Please provide some more code of yours.
maha anna
[This message has been edited by maha anna (edited January 16, 2001).]
subject: javascript and jsps
Similar Threads
How to get the managed bean property value inside the javascript method in facelets?
is it possible to write javascript in html?
Need to call javascript function from an html page.
In wich tag should I call a javaScript function?
remove the js code from the email