2012-01-25 02:38:49 +00:00
|
|
|
<%@page contentType="text/html"%>
|
|
|
|
<%@page pageEncoding="UTF-8"%>
|
|
|
|
<%
|
|
|
|
// http://www.crazysquirrel.com/computing/general/form-encoding.jspx
|
|
|
|
if (request.getCharacterEncoding() == null)
|
|
|
|
request.setCharacterEncoding("UTF-8");
|
|
|
|
|
|
|
|
if (request.getParameter("i2p.contextId") != null) {
|
|
|
|
session.setAttribute("i2p.contextId", request.getParameter("i2p.contextId"));
|
|
|
|
}
|
2016-02-25 14:56:06 +00:00
|
|
|
response.setHeader("X-Content-Type-Options", "nosniff");
|
2012-01-25 02:38:49 +00:00
|
|
|
%>
|
|
|
|
<jsp:useBean class="net.i2p.router.web.CSSHelper" id="intl" scope="request" />
|
2012-03-04 02:48:47 +00:00
|
|
|
<jsp:setProperty name="intl" property="contextId" value="<%=(String)session.getAttribute(\"i2p.contextId\")%>" />
|
2012-05-31 09:30:30 +00:00
|
|
|
<jsp:useBean class="net.i2p.router.web.NewsHelper" id="newshelper" scope="request" />
|
|
|
|
<jsp:setProperty name="newshelper" property="contextId" value="<%=(String)session.getAttribute(\"i2p.contextId\")%>" />
|
|
|
|
<%
|
|
|
|
java.io.File fpath = new java.io.File(net.i2p.I2PAppContext.getGlobalContext().getRouterDir(), "docs/news.xml");
|
|
|
|
%>
|
|
|
|
<jsp:setProperty name="newshelper" property="page" value="<%=fpath.getAbsolutePath()%>" />
|
|
|
|
<jsp:setProperty name="newshelper" property="maxLines" value="300" />
|
2012-01-25 02:38:49 +00:00
|
|
|
<%@include file="xhr1.jsi" %>
|