jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tri...@apache.org
Subject svn commit: r215989 - /incubator/jackrabbit/trunk/contrib/jcr-server/webapp/src/webapp/index.jsp
Date Tue, 12 Jul 2005 18:44:39 GMT
Author: tripod
Date: Tue Jul 12 11:44:37 2005
New Revision: 215989

URL: http://svn.apache.org/viewcvs?rev=215989&view=rev
Log:
- removing static variables from servlets

Modified:
    incubator/jackrabbit/trunk/contrib/jcr-server/webapp/src/webapp/index.jsp

Modified: incubator/jackrabbit/trunk/contrib/jcr-server/webapp/src/webapp/index.jsp
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/contrib/jcr-server/webapp/src/webapp/index.jsp?rev=215989&r1=215988&r2=215989&view=diff
==============================================================================
--- incubator/jackrabbit/trunk/contrib/jcr-server/webapp/src/webapp/index.jsp (original)
+++ incubator/jackrabbit/trunk/contrib/jcr-server/webapp/src/webapp/index.jsp Tue Jul 12 11:44:37
2005
@@ -7,13 +7,13 @@
 </head>
 <body>
 <ul>
-<li><a href="<%= request.getContextPath() %><%= SimpleWebdavServlet.getPathPrefix()
%>/">Repository Browser</a></li>
+<li><a href="<%= request.getContextPath() %><%= SimpleWebdavServlet.getPathPrefix(pageContext.getServletContext())
%>/">Repository Browser</a></li>
 <%--
 <li><a href="<%= request.getContextPath() %>/example.jsp">Repository Servlet
Example</a></li>
 --%>
 </ul>
 <%
-    Repository rep = RepositoryAccessServlet.getRepository();
+    Repository rep = RepositoryAccessServlet.getRepository(pageContext.getServletContext());
 
 %><hr size="1"><em>Powered by <a href="<%= rep.getDescriptor(Repository.REP_VENDOR_URL_DESC)
%>"><%= rep.getDescriptor(Repository.REP_NAME_DESC)%></a> version <%=
rep.getDescriptor(Repository.REP_VERSION_DESC) %>.</em>
 </body>



Mime
View raw message