META-INF.resources.asset.common.jsp.head.jsp Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ajaxjs-web Show documentation
Show all versions of ajaxjs-web Show documentation
AJAXJS Web aims to full-stack, not only the server-side framework, but also integrates the front-end library. It's written in HTML5 + Java, a successor to the JVM platform, efficient, secure, stable, cross-platform and many other advantages, but it abandoned the traditional enterprise architecture brought about by the large and bloated, emphasizing the lightweight, and fast, very suitable for the Internet fast application.
<%
request.setAttribute("PAGE_Node", com.ajaxjs.config.SiteStruService.getPageNode(request));
com.ajaxjs.web.UserAgent ua = new com.ajaxjs.web.UserAgent(request);
%>
<%-- 360 优先使用 Google Chrome Frame 和最新版本 IE --%>
<%
if(ua.isPhone()) { // 是否为移动客户端,响应式输出宽度 320px
%>
<%-- 通过百度手机打开网页时,百度可能会对你的网页进行转码,脱下你的衣服,往你的身上贴狗皮膏药的广告 --%>
<% }
if(ua.isOldIE()) {// 兼容旧版 ie
response.setHeader("X-UA-Compatible","IE=EmulateIE8");
%>
<%
}
%>
${aj_allConfig.site.titlePrefix}
${PAGE_Node.name}
${param.title}
<% if(com.ajaxjs.Version.isDebug) { %>
<% if(request.getParameter("css") != null) { %>
<%}%>
<%}else { %>
<%} %>