set the url-pattern as <url-pattern>
/upload_0.2/UploadFileServlet</url-pattern>
Hasan...

On Thu, Jul 9, 2009 at 7:11 PM, ghita <ghita.benkir...@gmail.com> wrote:

>
> Hello,
>
> I'm a newbie to gwt, I have a simple application that I use to upload
> file to server, but keeps giving the following error. I read that it
> may be because of the mapping of the servlet, here is my web.xml.
> any suggestions?
>
> <h1>HTTP Status 404 - /upload_0.2/UploadFileServlet</h1>
> <hr size="1" noshade="noshade"><p>
> <b>type</b> Status report</p><p><b>message</b>
>  <u>/upload_0.2/UploadFileServlet</u></p>
> <p><b>description</b>
>  <u>The requested resource (/upload_0.2/UploadFileServlet) is not
> available.</u></p>
> <hr size="1" noshade="noshade"><h3>Apache Tomcat/5.5.27</h3>
>
>
> web.xml
>
>        <display-name>
>        UploadFile</display-name>
>        <servlet>
>                <servlet-name>UploadFile</servlet-name>
>
>  <servlet-class>uploadfile.server.UploadFileServlet</servlet-class>
>        </servlet>
>        <servlet-mapping>
>                <servlet-name>UploadFile</servlet-name>
>                <url-pattern>/UploadFileServlet</url-pattern>
>        </servlet-mapping>
>
>
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to