Fabio, I think that dtd is for a tomcat 3 server. Are you deploying on a tomcat 4 server? If so I think the dtd should be a 2.3 one. I can vaguely recall having to change the web.xml file from one based on the 2.2 dtd to one based on 2.3 dtd for one of my apps developed with the 2.1 tdk on tomcat 3.2 which was deployed on tomcat 4. I cannot remember why though.
I hope this helps. Peter On Thu, 2002-11-07 at 16:14, Fabio Daprile wrote: > hello Rodney, > > maybe it is a configuration problem. > I haven't changed anything in the web.xml of tomcat. > hereafter the web.xml of my servlet: > > greetings > > FD > > <?xml version="1.0" encoding="ISO-8859-1"?> > > <!DOCTYPE web-app > PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN" > "http://java.sun.com/j2ee/dtds/web-app_2.2.dtd"> > > <web-app> > <servlet> > <servlet-name>bugtrack</servlet-name> > <servlet-class>org.apache.turbine.Turbine</servlet-class> > <init-param> > <param-name>applicationRoot</param-name> > <param-value>webContext</param-value> > </init-param> > <init-param> > <param-name>properties</param-name> > <param-value>/WEB-INF/conf/TurbineResources.properties</param-value> > </init-param> > <load-on-startup>1</load-on-startup> > </servlet> > > <servlet-mapping> > <servlet-name>bugtrack</servlet-name> > <url-pattern>/*</url-pattern> > </servlet-mapping> > > <security-constraint> > <web-resource-collection> > <web-resource-name>templates</web-resource-name> > <url-pattern>/templates/*</url-pattern> > </web-resource-collection> > <web-resource-collection> > <web-resource-name>logs</web-resource-name> > <url-pattern>/logs/*</url-pattern> > </web-resource-collection> > <auth-constraint> > <role-name>admin</role-name> > </auth-constraint> > </security-constraint> > <login-config> > <auth-method>BASIC</auth-method> > <realm-name>Templates</realm-name> > </login-config> > </web-app> > > > > Rodney Schneider wrote: > > >On Wed, 6 Nov 2002 20:34, you wrote: > > > > > > > >>Hello Rodney, > >> > >>Thx for the answer. > >> > >>When i hit the image link directly i get redirect to the Login page of > >>the site. > >>Do you have an hint on this? > >> > >> > > > >It sounds like a configuration problem to me. What does your web.xml file > >look like? Image files should be handled by Tomcat's DefaultServlet, not by > >the Turbine servlet. > > > >Regards, > > > >-- Rodney > > > >-- > >To unsubscribe, e-mail: <mailto:turbine-user-unsubscribe@;jakarta.apache.org> > >For additional commands, e-mail: <mailto:turbine-user-help@;jakarta.apache.org> > > > > > > > > -- > Fabio Daprile > > W�rth Phoenix srl - GmbH > Via Kravoglstrasse 4 > 39100 Bolzano / Bozen > Tel. +39 0471 564 111 - (direct 564068) > Fax + 39 0471 564 122 > [EMAIL PROTECTED] > > http://www.wuerth-phoenix.com > http://www.wuerth.com > > -- To unsubscribe, e-mail: <mailto:turbine-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:turbine-user-help@;jakarta.apache.org>
