Does anybody know what I have done wrong with my deployment?  I am
developing on Windows and was able to successfully deploy to a Tomcat
Apache on my Windows computer however when I try it on a Redhat Linux
server the application loads fine but the servlet url is never
created.

On Feb 9, 4:21 pm, Davidj2k <[email protected]> wrote:
> I did try checking, and it is calling the correct path, but the path
> does not exist and this is my exact servlet mapping in the web.xml
> file
>   <servlet>
>     <servlet-name>servletUpload</servlet-name>
>     <servlet-class>com.myapp.server.FileUploadServlet</servlet-class>
>   </servlet>
>
>   <servlet-mapping>
>     <servlet-name>servletUpload</servlet-name>
>     <url-pattern>/myapp/servletUpload</url-pattern>
>   </servlet-mapping>
>
> On Feb 9, 4:12 pm, obesga <[email protected]> wrote:
>
>
>
> > Maybe it's calling to /MyApp/servletUpload
>
> > Just try with firebug or httpfox on Firefox to know  where is normal
> > calling going, to compare with failure one.
> > Or make
>
> >     <servlet-mapping>
> >         <servlet-name>servletUpload</servlet-name>
> >         <url-pattern>/MyApp/myapp/servletUpload</url-pattern>
> >     </servlet-mapping>
> >     <servlet-mapping>
> >         <servlet-name>servletUpload</servlet-name>
> >         <url-pattern>/MyApp/servletUpload</url-pattern>
> >     </servlet-mapping>
>
> > Hope that helps
>
> > On 9 feb, 22:00, Davidj2k <[email protected]> wrote:
>
> > > When I try to deploy my application to a Linux server I get this error
>
> > > "Not Found   The requested URL /MyApp/myapp/servletUpload was not
> > > found on this server."
>
> > > However, when I am developing it in Eclipse it works fine, what do I
> > > need to do to get it to work on the Linux server?

-- 
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