Hi andre,

thanks for your answer.



> By the way, it seems there is an error in your struts-config.xml.
I know, it looks like that. But I haven't changed it since some time

> Or you changed it or you changed this file, or your tomcat config, or your
J2SDR or JRE config...
no, actually not! thats the strange thing!!

> Maybe you can send your struts-config.xml if it is not too big...
It is big. But I dorped some parts. those are not that important.

thanks, Rainer


<?xml version="1.0" encoding="ISO-8859-1" ?>

<!DOCTYPE struts-config PUBLIC
          "-//Apache Software Foundation//DTD Struts Configuration 1.0//EN"
          "http://jakarta.apache.org/struts/dtds/struts-config_1_0.dtd";>

<!--
     This is a blank Struts configuration file based on the example
application,
     with commented examples of some items.

     NOTE: If you have a generator tool to create the corresponding Java
classes
     for you, you could include the details in the "form-bean" declarations.
     Otherwise, you would only define the "form-bean" element itself, with
the
     corresponding "name" and "type" attributes, as shown here.
-->


<struts-config>


  <!-- ========== Data Source Configuration
=============================== -->

<!--   <data-sources>
    <data-source
        autoCommit="true"
       description="WWA-M Data Source Configuration"
       driverClass="org.gjt.mm.mysql.Driver"
        maxCount="40"
        minCount="5"
        password=""
        url="jdbc:mysql://localhost:3306/wwa_m01"
        user="root"
    />
  </data-sources> -->

 <!--
   <data-sources>
    <data-source
       autoCommit="false"
      description="WWA-M Data Source Configuration"
      driverClass="org.gjt.mm.mysql.Driver"
         maxCount="40"
         minCount="5"
         password=""
              url="jdbc:mysql://localhost:3306/wwa_m01"
             user="root"
    />
  </data-sources>
 -->

  <!-- ========== Form Bean Definitions
=================================== -->
  <form-beans>

    <!-- Logon form bean -->
    <form-bean      name="logonForm" type="util.logon.LogonForm"/>
 <form-bean      name="trinkwasserInputForm"
type="trinkwasser.TrinkwasserInputForm"/>

<!--   <form-bean      name="trinkwasserForm"
                    type="org.apache.struts.action.DynaActionForm">
      <form-property name="haerte" type="java.lang.String"/>
      <form-property name="password" type="java.lang.String"/>
    </form-bean> -->

  </form-beans>


<!-- ========== Global Forward Definitions
============================== -->
  <global-forwards>
   <!--  <forward   name="logoff"               path="/logoff.do"/> -->
  </global-forwards>


  <!-- ========== Action Mapping Definitions
============================== -->
  <action-mappings>


    <!-- Process a user logoff -->
    <action    path="/logoff"
               type="util.logon.LogoffAction">
      <forward name="success"
path="/application/util/logon.jsp"/>
    </action>

    <!-- Process a user logon -->
 <action      path="/login"
                 type="struts.sitedispatscher.GeruestSiteAction"
                scope="request">
      <forward name="success"         path="/application/util/logon.jsp"/>
    </action>


    <action    path="/logon"
               type="util.logon.LogonAction"
               name="logonForm"
              scope="request"
              input="/application/util/logon.jsp">
 <forward name="success"         path="/app/trinkwasserform?todo=test"/>
    </action>

 <!-- trinkwassereingabe -->

 <!-- <action      path="/trinkwasserform"
                 type="struts.sitedispatscher.GeruestSiteAction"
                scope="request"
                input="datensteckbriefe/forms/form_trinkwasser">
      <forward name="success"         path="/application/geruest.jsp"/>
    </action> -->

 <action      path="/trinkwasserform"
                 type="trinkwasser.TrinkwasserInputAction"
     name="trinkwasserInputForm"
                scope="session"

input="/application/datensteckbriefe/forms/form_trinkwasser.jsp">
  <forward name=success path="app/trinkwasserform?todo=speichern"/>
      <forward name="preview"
path="/application/datensteckbriefe/forms/form_trinkwasser_preview.jsp"/>
    </action>

    <!-- Sites -->
    <action    path="/startseite"
    type="struts.sitedispatscher.GeruestSiteAction">
 <forward name="success"         path="/application/index2.jsp"/>
    </action>


 <action      path="/test"
                 type="struts.sitedispatscher.GeruestSiteAction"
                scope="request"
                input="datensteckbriefe/klaeranlagesteck">
      <forward name="success"         path="/test.jsp"/>
    </action>






 <action      path="/abwasserzweckverband_starnberg"
                 type="struts.sitedispatscher.GeruestSiteAction"
                scope="request"
                input="datensteckbriefe/klaeranlagesteck">
      <forward name="success"         path="/application/geruest.jsp"/>
    </action>

.
.
.
.


 <action      path="/ziele"
                 type="struts.sitedispatscher.GeruestSiteAction"
                scope="request"
                input="isarprojekt/isar_ziele">
      <forward name="success"         path="/application/geruest.jsp"/>
    </action>


    <!-- The standard administrative actions available with Struts -->
    <!-- These would be either omitted or protected by security -->
    <!-- in a real application deployment -->
    <action    path="/admin/addFormBean"
               type="org.apache.struts.actions.AddFormBeanAction"/>
    <action    path="/admin/addForward"
               type="org.apache.struts.actions.AddForwardAction"/>
    <action    path="/admin/addMapping"
               type="org.apache.struts.actions.AddMappingAction"/>
    <action    path="/admin/reload"
               type="org.apache.struts.actions.ReloadAction"/>
    <action    path="/admin/removeFormBean"
               type="org.apache.struts.actions.RemoveFormBeanAction"/>
    <action    path="/admin/removeForward"
               type="org.apache.struts.actions.RemoveForwardAction"/>
    <action    path="/admin/removeMapping"
               type="org.apache.struts.actions.RemoveMappingAction"/>


  </action-mappings>

</struts-config>




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

Reply via email to