Have you ever noticed some JSP incompatibilities with WebSphere?
2 answers
Your little code example looks like we are doing it without problems.
Try to create a JSP that illustrates the problem and nothing else. Either create a new one from scratch, or delete anything that is irrelevant to the problem.
You will most likely find that the error is not in your sample code. But if you can create a small JSP file (few lines) that illustrates the problem, please show it to us.
+1
source to share
I believe it is generally a bad idea to embed javascript in jsp pages. Your problem is just one of the reasons why external javascript functions are being executed.
Although I don't know websphere, it happened to me in other containers.
If you insist on having it inline you can probably use
expression < <%=variableJsp%>
0
source to share