前端修复,日志功能加入
This commit is contained in:
@@ -20,6 +20,13 @@ the reusable UI units.
|
||||
application frame lives in `src/main/webapp/WEB-INF/jsp/common/header.jspf`
|
||||
and owns the dark sidebar, top utility bar, role workbench links, module
|
||||
navigation, global search, user display, and logout link.
|
||||
- Any `.jspf` fragment that contains user-visible Simplified Chinese text must
|
||||
declare `<%@ page pageEncoding="UTF-8" %>` at the top. Do not rely only on the
|
||||
including JSP page or response `Content-Type`; Tomcat/Jasper can otherwise
|
||||
compile the fragment with a non-UTF-8 default and render mojibake.
|
||||
- JSP-rendered HTML responses must be served as `text/html;charset=UTF-8` by
|
||||
the encoding filter or the JSP page directive. Request/response character
|
||||
encoding alone is not enough for browsers to decode Simplified Chinese safely.
|
||||
- Preserve role-conditioned navigation in that shared frame: administrator-only
|
||||
links stay inside `sessionScope.userRole == 'administrator'`; staff links stay
|
||||
inside `administrator or librarian`; reader-only links stay inside
|
||||
|
||||
Reference in New Issue
Block a user