Tag:Load JS file

  • Effective solution of JSP loading JS file does not work

    Time:2020-10-18

    Directory structure: JSP importing jQuery files always does not work because: Copy codeThe code is as follows: <script type=”text/javascript” src=”js/jquery-1.4.2.min.js”></script> It cannot access the files in the / WEB-INF / directory, so you need to put the loaded JS file into the webapp directory. test.html: Copy codeThe code is as follows: <%@ page language=”java” %> <%@ […]