1

我在 JSP 页面上运行了 JSTL 标记,但无法在 HTML 页面上运行相同的代码。所以,如果可能的话,任何人都可以帮助我!

4

4 回答 4

6

As name it self indicates

The JavaServer Pages Standard Tag Library (JSTL) is a collection of useful JSP tags which encapsulates core functionality common to many JSP applications.

And if you see the wiki of JSTL

It extends the JSP specification by adding a tag library of JSP tags for common tasks,

Summary:You cannot use.

于 2013-04-24T04:50:19.243 回答
2

You can't, they only run on JSP pages. Sorry!

于 2013-04-24T04:50:31.087 回答
2

Not Possible to do this.It supports only JSP.

于 2013-04-24T04:50:56.747 回答
2

任何 JSP 文件都会在文件被修改并且 Web 容器检测到它时被重新编译,但这绝对是错误的方法……如何将 HTML 模板保存在数据库中并在 JSP 接收它们之前对其进行处理呢?

于 2014-09-22T09:39:34.643 回答