关于取地址栏参数的问题
地址栏参数如下:
http://localhost:8080/szyj/tutorialPage.jsp?tfilename=install
代码如下:
<%@ taglib uri="isomorphic" prefix="isomorphic" %><%@ page contentType="text/html; charset=GBK"%><% String tutorialFileName = request.getParameter( "tfilename" );%><HTML><HEAD><isomorphic:loadISC skin="SilverWave"/></HEAD><BODY CLASS="pageBackground" STYLE="overflow:hidden"><SCRIPT>alert("111");var _fileName=<%=request.getParameter( "tfilename" )%>;[color=#FF0000]alert(_fileName);[/color][color=#FF0000]alert(tutorialFileName);[/color]</SCRIPT></BODY></HTML>
var _fileName='<%=request.getParameter( "tfilename" )%>';