<font color="#333333"><font size="2"><font face="verdana,sans-serif"><br></font></font></font><br><div class="gmail_quote">On Sun, Oct 3, 2010 at 4:40 PM, Pete Muir <span dir="ltr">&lt;<a href="mailto:pmuir@redhat.com">pmuir@redhat.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Anyway, Sreekanth, can you file a WELD issue please?<br></blockquote><div>Done : <a href="https://jira.jboss.org/browse/WELD-702">https://jira.jboss.org/browse/WELD-702</a></div>

<div><br></div><div><a href="https://jira.jboss.org/browse/WELD-702"></a>Thanks,</div><div>Sreekanth </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div><div></div><div class="h5"><br>
On 2 Oct 2010, at 21:10, Dan Allen wrote:<br>
<br>
&gt; On Fri, Oct 1, 2010 at 9:44 AM, Pete Muir &lt;<a href="mailto:pmuir@redhat.com">pmuir@redhat.com</a>&gt; wrote:<br>
&gt;<br>
&gt; On 1 Oct 2010, at 10:48, Sreekanth wrote:<br>
&gt;<br>
&gt; &gt; Hi,<br>
&gt; &gt;<br>
&gt; &gt; I am running the core tests from the workspace against glassfish.I have these question related to 2 tests.<br>
&gt; &gt;<br>
&gt; &gt; In the test, org.jboss.weld.tests.scope.RemoteScopeTest, there is a servlet by name RemoteClient using the annotation &quot;@WebServlet(&quot;*&quot;)&quot;.<br>
&gt;<br>
&gt; Not sure, but it&#39;s always worked with Tomcat/JBossWeb. I guess Grizzly doesn&#39;t support this?<br>
&gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; In the test resource.EMFFactoryTest, there are 3 servlets  EMFConsumerTest1, EMFConsumerTest2, EMFConsumerTest3 which uses the annotation  @WebServlet(&quot;emfconsumer&quot;) with out a leading &quot;/&quot; .<br>


&gt; &gt;<br>
&gt; &gt; Are these 2 test cases valid with respect to servlet specification?I guess these need to be rectified.Please comment.<br>
&gt;<br>
&gt; As above?<br>
&gt;<br>
&gt; According to 12.2 of the Servlet 3.0 specification (not likely to have changed since prior versions)<br>
&gt;<br>
&gt; In the Web application deployment descriptor, the following syntax is used to define<br>
&gt; mappings:<br>
&gt;       • A string beginning with a ‘/’ character and ending with a ‘/*’ suffix is used for path mapping.<br>
&gt;       • A string beginning with a ‘*.’ prefix is used as an extension mapping.<br>
&gt;       • The empty string (&quot;&quot;) is a special URL pattern that exactly maps to the application&#39;s context root, i.e., requests of the form http://host:port/&lt;context-root&gt;/. In this case the path info is ’/’ and the servlet path and context path is empty string (““).<br>


&gt;       • A string containing only the ’/’ character indicates the &quot;default&quot; servlet of that application. In this case the servlet path is the request URI minus the context path and the path info is null.<br>


&gt;       • All other strings are used for exact matches only.<br>
&gt; So a * path and a path without a slash are likely only JBoss AS friendly.<br>
&gt;<br>
&gt; -Dan<br>
&gt;<br>
&gt; --<br>
&gt; Dan Allen<br>
&gt; Principal Software Engineer, Red Hat | Author of Seam in Action<br>
&gt; Registered Linux User #231597<br>
&gt;<br>
&gt; <a href="http://mojavelinux.com" target="_blank">http://mojavelinux.com</a><br>
&gt; <a href="http://mojavelinux.com/seaminaction" target="_blank">http://mojavelinux.com/seaminaction</a><br>
&gt; <a href="http://www.google.com/profiles/dan.j.allen" target="_blank">http://www.google.com/profiles/dan.j.allen</a><br>
</div></div>&gt; _______________________________________________<br>
&gt; weld-dev mailing list<br>
<div class="im">&gt; <a href="mailto:weld-dev@lists.jboss.org">weld-dev@lists.jboss.org</a><br>
</div><div class="im">&gt; <a href="https://lists.jboss.org/mailman/listinfo/weld-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/weld-dev</a><br>
<br>
<br>
</div>_______________________________________________<br>
weld-dev mailing list<br>
<div class="im"><a href="mailto:weld-dev@lists.jboss.org">weld-dev@lists.jboss.org</a><br>
</div><div><div></div><div class="h5"><a href="https://lists.jboss.org/mailman/listinfo/weld-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/weld-dev</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Thanks,<br>Sreekanth<br><br><br>