说这个的主要是因为昨天网考碰到了一个的写法,当时不太确定效果,今天测试一下。
1 index.jsp
The taglib directive below imports the JSTL library. If you uncomment it,
you must also add the JSTL library to the project. The Add Library... action
on Libraries node in Projects view can be used to add the JSTL 1.1 library.
--%>
--%>
/p>
"http://www.w3.org/TR/html4/loose.dtd">
JSP PageJSP Page
This example uses JSTL, uncomment the taglib directive above.
To test, display the page like this: index.jsp?sayHello=true&name=Murphy
--%>
Hello ${param.name}!
--%>
2 test.jsp
The taglib directive below imports the JSTL library. If you uncomment it,
you must also add the JSTL library to the project. The Add Library... action
on Libraries node in Projects view can be used to add the JSTL 1.1 library.
--%>
--%>
/p>
"http://www.w3.org/TR/html4/loose.dtd">
TEST Pagetest
This example uses JSTL, uncomment the taglib directive above.
To test, display the page like this: index.jsp?sayHello=true&name=Murphy
--%>
Hello ${param.name}!
--%>
test
JSP Page
说这个的主要是因为昨天网考碰到了一个 的写法,当时不太确定效果,今天测试一下。
这种情况编译是无法通过的。