I think I'll do the former, and go back and fix my webapps for the future (one at a time, rather than all at once). As here's like 10 or 11 different servlets that I use directly it'll take some time to track down all the problem spots. Safer to install the invoker at this time.
Thanks for the assistance (too all of you). --mikej -=----- mike jackson [EMAIL PROTECTED] > -----Original Message----- > From: Tam, Michael [mailto:[EMAIL PROTECTED] > Sent: Monday, March 10, 2003 3:50 PM > To: 'Tomcat Users List' > Subject: RE: strangeness > > > two things you can do: > > 1) enable the the servlet invoker (probably your immediate solution) > Goto CATALINA_HOME\conf\, edit web.xml where the invoker was comment > out. uncomment it and restart tomcat. > 2) put your <servlet-mapping/> entries in your webapp web.xml [Most > recommended way to do it] > For example [forgive me if I misname the element names] > <servlet> > <servlet-name>MyServlet</servlet-name> > <servlet-class>MyServlet</servlet-name> > <servlet> > ...... > ...... [other servlets] > > <servlet-mapping> > <servlet-name>MyServlet</servlet-name> > <url-pattern>/servlet/MyServlet</url-patter> <!--Equvalent to > calling /localhost/servlet/MyServlet --> > </servlet-mapping> > > Hope this helps. > > Cheers, > Michael > > -----Original Message----- > From: Mike Jackson [mailto:[EMAIL PROTECTED] > Sent: Monday, March 10, 2003 3:34 PM > To: Tomcat Users List > Subject: RE: strangeness > > > BTW, my webapp is "tad", so the urls look like "/tad/servlet/MyServlet". > > --mikej > -=----- > mike jackson > [EMAIL PROTECTED] > > > -----Original Message----- > > From: Tam, Michael [mailto:[EMAIL PROTECTED] > > Sent: Monday, March 10, 2003 3:29 PM > > To: 'Tomcat Users List' > > Subject: RE: strangeness > > > > > > You just can't make calls like "localhost\servlet\myservlet" > > any more in > > 4.x.x where it is disabled. Well, unless you change the setting in the > > global web.xml of tomcat. > > > > > > -----Original Message----- > > From: Mike Jackson [mailto:[EMAIL PROTECTED] > > Sent: Monday, March 10, 2003 3:02 PM > > To: Tomcat Users List > > Subject: RE: strangeness > > > > > > I've got the <servlet/> in there, but I don't have a servlet-mapping for > > this servlet. I only have one page that calls it, and it's via request > > dispatcher, so the user doesn't see it. Are you saying that I > > can't do this > > anymore? > > > > --mikej > > -=----- > > mike jackson > > [EMAIL PROTECTED] > > > > > -----Original Message----- > > > From: Tam, Michael [mailto:[EMAIL PROTECTED] > > > Sent: Monday, March 10, 2003 2:51 PM > > > To: 'Tomcat Users List' > > > Subject: RE: strangeness > > > > > > > > > servlet-invoker has been disabled by default since 4.x.x. You > > need to put > > > <servlet/> and <servlet-mapping/> to your web.xml to locate your > > > servlet and > > > the url-pattern in your liking. > > > > > > Cheers, > > > Michael > > > > > > -----Original Message----- > > > From: Mike Jackson [mailto:[EMAIL PROTECTED] > > > Sent: Monday, March 10, 2003 1:50 PM > > > To: Tomcat Users List > > > Subject: strangeness > > > > > > > > > Ok, I have some kind of a strange behavior here. I have tomcat 4.0.18 > > > running, tied to apache 1.3.27 via mod_jk. Seems to work fine. > > > I'm in theh > > > process of migrating my installed webapps and I run into > > > something strange. > > > I've got a a servlet (com.cdi.scsd.tty.servlet.XSLTServlet) > > which is in my > > > jar file (tty.jar), that jar file is in the webapps > WEB-INF/lib folder. > > > However when I try to access the servlet via > > > /servlet/com.cdi.scsd.tty.servlet.XSLTServlet I get a 404 error. I've > > > unjarred the file to make sure the class is there, and it is. > > > I've put the > > > unjarred files in the the WEB-INF/classes folder, still a 404. > > > I've checked > > > to be sure I'm not missing a jar file or something from the > old install, > > > which I don't appear to be. I checked the startup options from > > the 3.3.1a > > > version, nothing. Does anyone have an idea where to look next? > > > > > > --mikej > > > -=----- > > > mike jackson > > > [EMAIL PROTECTED] > > > > > > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]