jsp 如何调用js

jsp 如何调用js

猪哥解答:1、如果是想通过JSP中的java代码调用js某函数,假定函数名为DemoFunction,那么就在jsp中这样写&lt%out.println("&ltscript&gtDemoFunction
JavaScript170