On Thu, 2014-02-06 at 10:32 -0500, Neven Cvetkovic wrote:
> On Feb 6, 2014 4:21 PM, "Shivam Mishra" <shmishra...@gmail.com> wrote:
> >
> > My tomcat and its example application is running but I got an error with
> my
> > own application .My port number is 8080 .I compile my servlet programme in
> > jdk 7 .and my web.xml file is below
> > <?xml version="1.0" encoding="ISO-8859-1"?>
> > <!DOCTYPE web-app
> >     PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
> >     "http://java.sun.com/j2ee/dtds/web-app_2.2.dtd";>
> >
> > <web-app>
> >   <servlet>
> >     <servlet-name>MyServlet</servlet-name>
> >     <servlet-class>TestServlet</servlet-class>
> >
> >   </servlet>
> > <servlet-mapping>
> > <servlet-name>MyServlet</servlet-name>
> > <url-pattern>/TestServlet</url-pattern>
> > </servlet-mapping>
> > </web-app>
> > My servlet class name is TestServlet
> >
> >
> 
> Ok, great.
> 
> Now tell us about directory structure of your application, what files,
> where did you put the servlet class file, etc.
> 
> Also what do logs say once you deploy your app?

And just as importantly: What URL are you using to access your app?




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to