hi Arshad Mahmood
well i have changed the tomcat's server.xml file and then only .i start working in fact i have made new engine and new context in that engine...sir u want i can send u my server.xml file...and its there below this mail Puneet --- Arshad Mahmood <[EMAIL PROTECTED]> wrote: > Hi, > > What is in your server.xml. Have you defined a > virtual host for puneet, and > how have you defined the > Context. Send yout server.xml as an attachment and > we should be able to see > what the problem is. > > Do you get a response by trying > http://localhost:8080/<yourcontext>/servlet/abc > (replace <yourcontext> with > the name of your context). > > Regards, > Arshad > > ----- Original Message ----- > From: "puneet sachar" <[EMAIL PROTECTED]> > To: "Tomcat Users List" > <[EMAIL PROTECTED]> > Sent: Sunday, June 09, 2002 6:51 PM > Subject: Re: problem..plz help me out > > > > I'm on win me platform .. > > > > and i don't understand one thing if a servlet > works > > fine with this url > > http://localhost:8080/examples/servlet/abc > > > > then whatz worng with > > > > http://puneet:8080/servlet/abc > > or > > http://puneet:8080/sachar/servlet/abc > > > > i have done what exactly written in server.xml > > > > if u can help me out plz do that..this is my 4th > day > > without work > > > > Puneet > > > > > > --- puneet sachar <[EMAIL PROTECTED]> wrote: > > > > > > --- Markus Kirsten <[EMAIL PROTECTED]> > > > wrote: > > > > Does the example servlets and JSP work? > > > > > > > > Which platform do you use? > > > > > > > > > > > > Markus > > > > > > > > > > > > On lördag, juni 8, 2002, at 09:22 , puneet > sachar > > > > wrote: > > > > > > > > > Hi friends, this is my 4th mail regarding my > > > > single > > > > > complain.. > > > > > > > > > > I have install the tomcat 4.0.3 and its > doing > > > fine > > > > as > > > > > far .html files are concern but no .class > and > > > .jsp > > > > > files are running on it > > > > > > > > > > I have asked 9-10 times abt same question > again > > > > and > > > > > again and I got nothing from u guys there > > > > > > > > > > Plz help meÖI really stuck .. > > > > > > > > > > With this mail Iím sending my server.xml > file > > > and > > > > > web.xml file which is in my > virtualhost/WEB-INF/ > > > > > > > > > > I know it is very tough for u to go in these > > > files > > > > and > > > > > see for errors but plz..iím in need badly > and > > > > afater > > > > > spending so much time here I some time feel > like > > > > > crying Ö and Iím in such a place and in such > a > > > > part of > > > > > India..where I canít get ant local computer > guy > > > > with > > > > > whom I can discuss ..plz do me a little > favour > > > > > > > > > > Here are my problems > > > > > 1) no .class and .jsp working only html is > > > working > > > > > 2) I have done all changes which were to > made in > > > > > server.xmlÖ)I have send the file also plz > check > > > it > > > > and > > > > > tell me any mistake if u find) > > > > > 3) Iím getting 404 error ..no servlet found > > > > > 4) And Iím able to excess the .class file > vis > > > > > > http://localhost:80/examples/servlet/abc.class > > > > > But not by making my own virtual host aand > not > > > > even > > > > > the default root directory > > > > > > > > > > > > > > > what i have is my own context named sachar > > > > > and when i go > > > > > > > > > .http://puneet:80/sachar/servlet/HelloworldServlet > > > > > > > > > > error -- 404 > > > > > > > > > > See friends ..if u can help me Iíll be very > > > > grateful > > > > > to u > > > > > > > > > > Puneet > > > > > > > > > > > > > > > > > > > __________________________________________________ > > > > > Do You Yahoo!? > > > > > Yahoo! - Official partner of 2002 FIFA World > Cup > > > > > http://fifaworldcup.yahoo.com > > > > > <?xml version="1.0" encoding="ISO-8859-1"?> > > > > > > > > > > <!DOCTYPE web-app > > > > > PUBLIC "-//Sun Microsystems, Inc.//DTD > Web > > > > Application 2.3//EN" > > > > > > "http://java.sun.com/dtd/web-app_2_3.dtd"> > > > > > > > > > > <web-app> > > > > > <servlet> > > > > > <servlet-name>MyExample</servlet-name> > > > > > > <servlet-class>HelloWorldExample</servlet-class> > > > > > <run-as> > > > > > <description>Security role for anonymous > > > > access</description> > > > > > <role-name>tomcat</role-name> > > > > > </run-as> > > > > > </servlet> > > > > > > > > > > <servlet-mapping> > > > > > <servlet-name>MyExample</servlet-name> > > > > > > <url-pattern>/sachar/servlet/snoop</url-pattern> > > > > > <url-pattern>/servlet/*</url-pattern> > > > > > </servlet-mapping> > > > > > > > > > > > > > > > </web-app> > > > > > <!-- Example Server Configuration File --> > > > > > <!-- Note that component elements are nested > > > > corresponding to their > > > > > parent-child relationships with each > other > > > > --> > > > > > > > > > > <!-- A "Server" is a singleton element that > > > > represents the entire JVM, > > > > > which may contain one or more "Service" > > > > instances. The Server > > > > > listens for a shutdown command on the > > > > indicated port. > > > > > > > > > > Note: A "Server" is not itself a > > > > "Container", so you may not > > > > > define subcomponents such as "Valves" > or > > > > "Loggers" at this level. > > > > > --> > > > > > > > > > > <Server port="8005" shutdown="SHUTDOWN" > === message truncated === __________________________________________________ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>