Is there an JSTL EL (Expression Language) Equivalent to

后端 未结 3 1001
没有蜡笔的小新
没有蜡笔的小新 2021-01-12 05:43

We use the tomcat urlrewrite plugin to rewrite outbound URLs as well as inbound ones. To do this, you need to use the JSTL tag.

This works great for clean urls and

3条回答
  •  春和景丽
    2021-01-12 06:26

    There is nothing out of the box, but nothing prevents you to write your own EL functions, and thus use something like that:

    Next Page
    

    I don't feel that it's more readable than the standard c:url tag, and it would be even worse if it has to accept parameter names and values, though.

    See http://docs.oracle.com/javaee/1.4/tutorial/doc/JSPIntro7.html for how to define and use EL functions.

提交回复
热议问题