It's not a secret anymore!
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
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).]
I agree. Here's the link:
subject: javascript and jsps
It's not a secret anymore!