如何使用JSTL在JSP中捕获变量中的当前日期和时间?
<c:set property="currentTime" value="${System.CurrentTimeMillis()}"/>
Run Code Online (Sandbox Code Playgroud)
我在我的JSP中使用上面的代码但它抛出了一个错误.
org.apache.jasper.JasperException: The function currentTimeMillis must be used with a prefix when default namespace is not specified.
Run Code Online (Sandbox Code Playgroud)