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" > debug="0"> > > > > > > > > > <!-- A "Service" is a collection of one or > more > > "Connectors" that > > > share > > > a single "Container" (and therefore the > web > > applications visible > > > within that Container). Normally, that > > Container is an "Engine", > > > but this is not required. > > > > > > Note: A "Service" is not itself a > > "Container", so you may not > > > define subcomponents such as "Valves" or > > "Loggers" at this level. > > > --> > > > > > > <!-- Define the Tomcat Stand-Alone Service --> > > > <Service name="Tomcat-Standalone"> > > > > > > <!-- A "Connector" represents an endpoint by > > which requests are > > > received > > > and responses are returned. Each > > Connector passes requests on > > > to the > > > associated "Container" (normally an > > Engine) for processing. > > > > > > By default, a non-SSL HTTP/1.1 > Connector > > is established on > > > port 8080. > > > You can also enable an SSL HTTP/1.1 > > Connector on port 8443 by > > > following the instructions below and > > uncommenting the second > > > Connector > > > entry. SSL support requires the > > following steps (see the SSL > > > Config > > > HOWTO in the Tomcat 4.0 documentation > > bundle for more detailed > > > instructions): > > > * Download and install JSSE 1.0.2 or > > later, and put the JAR > > > files > > > into "$JAVA_HOME/jre/lib/ext". > > > * Execute: > > > %JAVA_HOME%\bin\keytool -genkey > > -alias tomcat -keyalg RSA > > > (Windows) > > > $JAVA_HOME/bin/keytool -genkey > -alias > > tomcat -keyalg RSA > > > (Unix) > > > with a password value of "changeit" > for > > both the certificate > > > and > > > the keystore itself. > > > > > > By default, DNS lookups are enabled > when > > a web application > > > calls > > > request.getRemoteHost(). This can have > > an adverse impact on > > > performance, so you can disable it by > > setting the > === 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]>