weblogic supports jsp code inside a javascript?
Weblogic server 10.3.6 doesn’t display the result of jsp with <script> tag calling javascript which has jsp code.
*scriptTest.jsp
<script type="text/javascript" src="scriptTest.js"></script>
* script.js
<% int a = 100; %>
<%= a %>
In case of include tag, it works.
* includeTest.jsp
<%@ include file="includeTest.js"%>
* includeTest.js
<% int a = 100; %>
<%= a %>
è The result is 100
WebLogic supports jsp code inside javascript?
Customer said scriptTest.jsp works well on Tomcat.
Thanks in advance.
YH