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
On Oct 2, 7:22 pm, "olivier nouguier" <[EMAIL PROTECTED]>
wrote:
> hi,
> Those mapping are only for GWT-RPC request !!
> You should not put this servlet in the gwt.xml !
>
>
>
> On Thu, Oct 2, 2008 at 4:16 PM, Charan <[EMAIL PROTECTED]> wrote:
>
> > hi,
>
> > i have requirement to accept multiple URL's to single servlet file
>
> > for example:
>
> > /projectName/access/files/1234
> > /projectName/access/files/1235
> > /projectName/access/files/1236
> > /projectName/access/files/1237
> > /projectName/access/files/1238
> > /projectName/access/files/1239
> > /projectName/access/files/1240
>
> > these URLs need to map a single servlet say
> > (com.my.server.AcessFileServlet)
>
> > /projectName/access/files/ upto this URL remains same for all but only
> > change is in numeric which specfies the file name dynamic
>
> > so to acheive this i am specified in projectName.gwt.xml like this :
>
> > <servlet path="/access/files/* " class="com.capgent.server.MyServer" /
>
> > this is not working
>
> > so tell how we can i map say 200 URL's to single servlet
>
> > i done above based on keeping in mind of web.xml where we can specify
> > <url-pattern>/foo/*</url-pattern>
>
> > can anyone can help in this how can i specify
>
> > Thanks & regards,
> > S.Charan Kumar
>
> --
> "Quand le dernier arbre sera abattu, la dernière rivière asséchée, le
> dernier poisson péché, l'homme va s'apercevoir que l'argent n'est pas
> comestible"
> - proverbe indien Cri
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---