[ 
http://jira.codehaus.org/browse/MGWT-143?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=199486#action_199486
 ] 

batal commented on MGWT-143:
----------------------------

GwtWebInfProcessor.java (r10046)
124                 servletMapping.addContent( servletName );
125                Element urlPattern = new Element( "url-pattern", ns );
-126               urlPattern.setText( d.getPath() );
+126               urlPattern.setText( "/"+d.getPath() );
127                servletMapping.addContent( urlPattern );
128                webapp.addContent( insertAfter, servletMapping );

> bad uri-pattern in web.xml
> --------------------------
>
>                 Key: MGWT-143
>                 URL: http://jira.codehaus.org/browse/MGWT-143
>             Project: Maven 2.x GWT Plugin
>          Issue Type: Bug
>    Affects Versions: 1.2
>            Reporter: batal
>
> In web.xml inserted:
> <servlet-mapping>
>     <servlet-name>xxx.Xxxyyy.Yyy/zzz</servlet-name>
>     <url-pattern>xxx.Xxxyyy.Yyy/zzz</url-pattern>
> </servlet-mapping>
> On deploy in Tomcat or Glassfish: bad uri-pattern
> Please, change from "xxx.Xxxyyy.Yyy/zzz" to "/xxx.Xxxyyy.Yyy/zzz"
> P.S.
> The url-pattern specification:
>  * A string beginning with a '/' character and ending with a '/*' suffix is 
> used for path mapping.
>  * A string beginning with a '*.' prefix is used as an extension mapping.
>  * A string containing only the '/' character indicates the "default" servlet 
> of the application. In this case the servlet path is the request URI minus 
> the context path and the path info is null.
>  * All other strings are used for exact matches only.
>  

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to