Hopefully someone who understands your questions will reply!! :) As I said, nitty-gritty development stuff is out of my range at the moment, I only know the basics...Hello World type stuff. Most of my days are spent on the admin side.
John > -----Original Message----- > From: Wilson Snook [mailto:[EMAIL PROTECTED]] > Sent: Monday, January 13, 2003 4:34 PM > To: Tomcat Users List > Subject: Re: Can't find servlet > > > John, may I digress slightly? What if Geoff were not using a > servlet but a > bean? I suspect he would have a similar problem, but could > this be solved > by servlet-mapping? > > Back to topic: if the correct directory structure under > webapps is used, why > is servlet mapping necessary anyway? > > TIA, > > Wilson > > ----- Original Message ----- > From: "Turner, John" <[EMAIL PROTECTED]> > To: "'Tomcat Users List'" <[EMAIL PROTECTED]> > Sent: Monday, January 13, 2003 9:26 PM > Subject: RE: Can't find servlet > > > > > > Looks to me like you are missing all of your servlet > mappings. A basic > > servlet entry in web.xml looks like this: > > > > <servlet> > > <servlet-name>SomeServlet</servlet-name> > > <servlet-class>SomeServlet</servlet-class> > > </servlet> > > <servlet-mapping> > > <servlet-name>SomeServlet</servlet-name> > > <url-pattern>/SomeURLPattern</url-pattern> > > </servlet-mapping> > > > > You have to do that for each and every servlet, unless you > want to use the > > Invoker servlet, which is unwise because of the security > implications. > > > > I'm more sys-admin than developer, so there's probably more > to it that one > > of the real developers on this list can explain. > > > > John > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
