> turned on the RequestValueDumper... but no luck. I have absolutely no > idea why I can't map http://localhost:8080/bookie to my servlet.
> <servlet-mapping> > <servlet-name>BookieServlet</servlet-name> > <url-pattern>/bookie</url-pattern> > </servlet-mapping> is it as simple as it should be?? http://localhost:8080/bookie/bookie instead Remember that webapps are in "contexts" -- basically top level directory paths under / . So if you put your stuff in /webapps/bookie , then you actually have a bookie "context" and your bookie servlet is a part of that. Or if you put it in some other folder...then that's the top-level directory path. the only way a servlet will work the way you're trying to do it is if you have it installed in /webapps/ROOT , which is the context for "http://localhost:8080/" . The above URL that you wrote causes Tomcat to look for a "bookie" context -- the default document for that context. hope this helps fillup On 5/14/02 12:31 AM, "Will Sargent" <[EMAIL PROTECTED]> wrote: > Hi everybody, > > I'm new to Tomcat, although I know servlets pretty well. I have a > problem with my XML-RPC application; I can get the servlet to run fine > as a stand alone, and I can register it as a servlet, but somehow I > can't get any response back from it after it loads. > > I'm using Log4J as the logging service, and although I can get the > initial log, I don't get any response from the doGet() or doPost() > methods -- and I've tried System.out.println() on both of them without > response. > > I've also turned on verbosity=4 on everything I could lay hands on and > turned on the RequestValueDumper... but no luck. I have absolutely no > idea why I can't map http://localhost:8080/bookie to my servlet. > > Here's my web.xml file in case you know what I'm doing wrong. > > Any clue as to what I should do next? I'd love to be able to see what > every request to tomcat was doing... > > Will. > > <?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> > > <display-name>Bookie</display-name> > <description>The Bookie Servlet</description> > > <context-param> > <param-name>webmaster</param-name> > <param-value>[EMAIL PROTECTED]</param-value> > <description> > The EMAIL address of the administrator to whom questions > and comments about this application should be addressed. > </description> > </context-param> > > <servlet> > <servlet-name>BookieServlet</servlet-name> > > <servlet-class>com.tersesystems.bookie.service.xmlrpc.BookieServlet</servlet-c > lass> > > <init-param> > <param-name>logging</param-name> > > <param-value>d:/home/wsargent/work/bookie/server/conf/log_server.properties</p > aram-value> > <description> > The location of the log4j logging file. > </description> > </init-param> > > <init-param> > <param-name>profile</param-name> > > <param-value>d:/home/wsargent/work/bookie/server/conf/profile.properties</para > m-value> > <description> > The location of the user profile. > </description> > </init-param> > > <load-on-startup>5</load-on-startup> > </servlet> > > <servlet-mapping> > <servlet-name>BookieServlet</servlet-name> > <url-pattern>/bookie</url-pattern> > </servlet-mapping> > > </web-app> > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
