]> source.dussan.org Git - archiva.git/commitdiff
tweaks
authorBrett Porter <brett@apache.org>
Fri, 21 Jul 2006 15:17:01 +0000 (15:17 +0000)
committerBrett Porter <brett@apache.org>
Fri, 21 Jul 2006 15:17:01 +0000 (15:17 +0000)
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@424356 13f79535-47bb-0310-9956-ffa450edef68

maven-repository-webapp/src/main/webapp/WEB-INF/tags/currentWWUrl.tag
maven-repository-webapp/src/main/webapp/WEB-INF/web.xml

index d184992dab7ec61c4fc7b6bffdfe0bd1902f569f..6febd7f06fa05f015f46caa5813b1f01f0936f2d 100644 (file)
 <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>\r
 <%@ attribute name="action" required="true" %>\r
 <%@ attribute name="namespace" required="true" %>\r
-<ww:url id="currentUrl" />\r
-<ww:url action="${action}" namespace="${namespace}" id="url" />\r
+<c:set var="currentUrl">\r
+  <ww:url />\r
+</c:set>\r
+<c:set var="url">\r
+  <ww:url action="${action}" namespace="${namespace}" />\r
+</c:set>\r
 <c:choose>\r
   <c:when test="${currentUrl == url}">\r
     <strong>\r
index d364847cc783ed033fdcacada3858ee7e5c3ce0b..90b5fdde9c1f1affdbc583df3b079f417262b1f8 100644 (file)
   ~ limitations under the License.
   -->
 
-<!DOCTYPE web-app PUBLIC
-    "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
-    "http://java.sun.com/dtd/web-app_2_3.dtd" >
+<web-app xmlns="http://java.sun.com/xml/ns/j2ee" version="2.4"
+    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+    xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
 
-<web-app>
   <display-name>Maven Repository Manager</display-name>
 
   <!-- TODO: remove if we use the new xwork integration
@@ -70,9 +69,4 @@
   <listener>
     <listener-class>org.codehaus.plexus.xwork.PlexusLifecycleListener</listener-class>
   </listener>
-
-  <welcome-file-list>
-    <welcome-file>index.action</welcome-file>
-    <welcome-file>index.jsp</welcome-file>
-  </welcome-file-list>
 </web-app>