%@ page import="com.gzzm.platform.desktop.StyleUtils" %> <%@ page import="com.gzzm.platform.login.UserOnlineInfo" %> <%@ page import="net.cyan.commons.util.io.WebUtils" %> <% String navigator = WebUtils.getNavigator(request); String defaultStylePath = "/oa/styles/plain"; if (navigator == null || navigator.equals("IE6") || navigator.startsWith("IE6.")) { defaultStylePath = "/oa/styles/default"; } UserOnlineInfo userOnlineInfo = UserOnlineInfo.getUserOnlineInfo(request); Integer userId = userOnlineInfo.getUserId(); String stylePath = StyleUtils.getStylePath(userId, defaultStylePath); if (stylePath != null && stylePath.contains("plain") && (navigator == null || navigator.equals("IE6") || navigator.startsWith("IE6."))) { stylePath = "/oa/styles/default"; } StyleUtils.setStylePath("oa", stylePath, request, response); StyleUtils.setStylePath("desktop", stylePath, request, response); %>