On 2 oct, 17:04, Charan <[EMAIL PROTECTED]> wrote:
> i have configured in tomcat/webapps/root/WEB-INF/web.xml as follows
>
>          <servlet>
>                 <servlet-name>FileAcess</servlet-name>
>                 <servlet-class>com.capgent.server.MyServer</servlet-class>
>         </servlet>
>
>         <servlet-mapping>
>                 <servlet-name>FileAcess</servlet-name>
>                 <url-pattern>/services/attachmentService/*</url-pattern>
>         </servlet-mapping>
>
> commented <servlet > tag in .gwt.xml
>
> still not working

It works for me (with a <url-pattern>/otherapp/*</url-pattern> though,
i.e. one "folder"-level only, while you're trying with a "second
level").

Check that the GWTShell hasn't overwritten the file on launch...

> On Oct 2, 7:22 pm, "olivier nouguier" <[EMAIL PROTECTED]>
> wrote:
>
> > hi,
> >  Those mapping are only for GWT-RPC request !!

Wrong!
Those mappings are to help developers, and the "blessed GWT server-
side" is GWT-RPC, but that doesn't mean you cannot use a non-RPC
servlet.

> >  You should not put this servlet in the gwt.xml !

I'd rather say you *can't*, not you shouldn't.
Unfortunately, the <servlet/> in gwt.xml doesn't accept url-
patterns...


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to