我有简单的HTML文件,我想在其中包含一些JSTL标记,首先我要尝试是否有效。
但不知何故,JSTL标签现在在渲染后显示出来。这是代码:
xmlns="http://www.w3.org/1999/xhtml"
xmlns:wicket="http://wicket.apache.org/"
xmlns:c="http://java.sun.com/jstl/core">
我的web.xml有:
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
id="WebApp_ID" version="2.5">
我还在我的web-inf / lib文件夹中添加了jstl-1.2.jar。
问题是我在html页面上没有看到任何内容。我期待看到“成功”。有什么建议吗?