[weld-commits] Weld SVN: r7000 - archetypes/javaee6-webapp/trunk/src/main/java/com/mycompany.
weld-commits at lists.jboss.org
weld-commits at lists.jboss.org
Fri Aug 20 17:12:03 EDT 2010
Author: dan.j.allen
Date: 2010-08-20 17:12:02 -0400 (Fri, 20 Aug 2010)
New Revision: 7000
Modified:
archetypes/javaee6-webapp/trunk/src/main/java/com/mycompany/JaxRsActivator.java
Log:
prefix path with / to make it work on JBoss AS 6 M4
Modified: archetypes/javaee6-webapp/trunk/src/main/java/com/mycompany/JaxRsActivator.java
===================================================================
--- archetypes/javaee6-webapp/trunk/src/main/java/com/mycompany/JaxRsActivator.java 2010-08-20 21:10:27 UTC (rev 6999)
+++ archetypes/javaee6-webapp/trunk/src/main/java/com/mycompany/JaxRsActivator.java 2010-08-20 21:12:02 UTC (rev 7000)
@@ -28,11 +28,13 @@
* <param-value>/rest</param-value>
* </context-param>
* </pre>
- * <p>The mapping prefix should match the value that was in the <code>@ApplicationPath</code> annotation, prefixed
- * with a forward slash (/).</p></li>
+ * <p>The mapping prefix should match the value that was in the
+ * <code>@ApplicationPath</code> annotation, prepended with a forward slash (/)
+ * if not already present.</p>
+ * </li>
* </ol>
*/
- at ApplicationPath("rest")
+ at ApplicationPath("/rest")
public class JaxRsActivator extends Application
{
/* class body intentionally left blank */
More information about the weld-commits
mailing list