To find out what's going on, I created an even simpler project:
All the struts 1.1 jars, tlds and dtds
A simple index.jsp with NO struts related tags or taglib directives.
An ActionServlet set to load on startup.

The same failure as reported under "problems with <html:base/>" happens,
that shows the failure is not related to the jsp file that contained the
<html:base/> tag in my other project, but to the initial loading of the
ActionServlet.

I realized I hadn't run a struts 1.1 in this tomcat instance before, only
the struts 1.0 "logon" application from the manning/husted struts book.

Is there a problem with using Tomcat 3.23 and Struts 1.1 ?
Otherwise, the only possible explanation could be missing items in the
web.xml or struts-config.xml
This is what the app currently look like:

/index.jsp
/META-INF/
/META-INF/MANIFEST.MF
/WEB-INF/
/WEB-INF/struts-bean.tld
/WEB-INF/struts-html.tld
/WEB-INF/struts-logic.tld
/WEB-INF/struts-nested.tld
/WEB-INF/struts-template.tld
/WEB-INF/struts-tiles.tld
/WEB-INF/struts-config_1_0.dtd
/WEB-INF/struts-config_1_1.dtd
/WEB-INF/tiles-config.dtd
/WEB-INF/tiles-config_1_1.dtd
/WEB-INF/validation_1_1.dtd
/WEB-INF/validator-rules_1_1.dtd
/WEB-INF/web-app_2_2.dtd
/WEB-INF/web-app_2_3.dtd
/WEB-INF/web.xml
/WEB-INF/struts-config.xml
/WEB-INF/classes/
/WEB-INF/lib/
/WEB-INF/lib/commons-beanutils.jar
/WEB-INF/lib/commons-collections.jar
/WEB-INF/lib/commons-digester.jar
/WEB-INF/lib/commons-fileupload.jar
/WEB-INF/lib/commons-lang.jar
/WEB-INF/lib/commons-logging.jar
/WEB-INF/lib/commons-validator.jar
/WEB-INF/lib/jakarta-oro.jar
/WEB-INF/lib/struts-legacy.jar
/WEB-INF/lib/struts.jar


********** web.xml **********************************************

<?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>

  <!-- Standard Action Servlet Configuration (with debugging) -->
  <servlet>
    <servlet-name>action</servlet-name>
    <servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
    <init-param>
      <param-name>config</param-name>
      <param-value>/WEB-INF/struts-config.xml</param-value>
    </init-param>
    <load-on-startup>1</load-on-startup>
  </servlet>

<servlet-mapping>
     <servlet-name>action</servlet-name>
     <url-pattern>/do/*</url-pattern>
</servlet-mapping>

  <!-- The Usual Welcome File List -->
  <welcome-file-list>
    <welcome-file>index.jsp</welcome-file>
  </welcome-file-list>


  <!-- Struts Tag Library Descriptors -->
  <taglib>
    <taglib-uri>/tags/struts-html</taglib-uri>
    <taglib-location>/WEB-INF/struts-html.tld</taglib-location>
  </taglib>

</web-app>

****** struts-config.xml *****************************************

<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE struts-config PUBLIC
          "-//Apache Software Foundation//DTD Struts Configuration 1.1//EN"
          "http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd";>

<struts-config>
    <form-beans>
    </form-beans>

    <global-forwards>
    </global-forwards>

    <action-mappings>
    </action-mappings>
</struts-config>

There must be a really simple reason for the failure, as there's really no
application code my test app.
any pointers much appreciated.

Lukas

-- 
+++ NEU bei GMX und erstmalig in Deutschland: T�V-gepr�fter Virenschutz +++
100% Virenerkennung nach Wildlist. Infos: http://www.gmx.net/virenschutz


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to