----- Original Message ----- From: "David Demner" <[EMAIL PROTECTED]> To: "'Turbine Users List'" <[EMAIL PROTECTED]> Sent: Sunday, December 14, 2003 7:43 PM Subject: RE: Migrating TDK2.3's newapp to Tomcat4.1.29
> Hi Vjeran, > > The links I posted earlier should satisfy your requirements. Basically, at > the bottom of the Application's web.xml web-app section, I added this: > > <servlet-mapping> > <servlet-name>newapp</servlet-name> > <url-pattern>/servlet/newapp</url-pattern> > </servlet-mapping> > <servlet-mapping> > <servlet-name>newapp</servlet-name> > <url-pattern>/servlet/newapp/*</url-pattern> > </servlet-mapping> > > (Earlier in the file, the servlet-class for the servlet-name newapp is > indicated to be org.apache.turbine.Turbine) > > I put 2 since and I didn't want to have /servlet/newapp* since it could map > to /servlet/newapplication or whatever, which may be a security risk (I have > no idea), but you need servlet/newapp/* for all the actions to map properly. Ahh. Thank a bunch. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
