项目中菜单栏里,有一些页面还没有做出来,点击跳转时报错了。
FreeMarker template error (DEBUG mode; use RETHROW in production!): The following has evaluated to null or missing: ==> request [in template "index.html" at line 1, column 17]
index.html页面用了这个标签:
<#assign base = request.contextPath/>
现在的问题是,想解决跳转不存在的页面时不报错。