Hi Tim

For some reason I dont see your controller mappings (here is an example from my struts-config.xml)
   <action-mappings>
<action type="Controller" validate="false" scope="request" path="/begin">
           <forward path="/index.jsp" name="index"/>
       </action>
   </action-mappings>
<controller processorClass="com.bea.wlw.netui.pageflow.PageFlowRequestProcessor"/>

*IF* your DTD will validate the property e.g.
<!--
   DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED
   DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED
    The "field" element defines the properties to be validated. In a
    web application, a field would also correspond to a control on
    a HTML form. To validate the properties, the validator works through
    a JavaBean representation, like a Struts ActionForm. The field element
    can accept up to 4 attributes:

    property        The property on the JavaBean corresponding to this
                    field element.

then in \WEB-INF\validator-rules.xml I would set the locations of the validator-rules and validation.xml as in this example for ValidatorPlugIn..
     <plug-in className="org.apache.struts.validator.ValidatorPlugIn">
<set-property property="pathnames" value="/WEB-INF/validator-rules.xml,
                                                 /WEB-INF/validation.xml"/>
     </plug-in>
-->

so the Path of least resistance is to DISABLE the property validation in your DTD by commenting out the entry (this would negate the need for specific setting of property pathnames for validator-rules.xml and validation.xml

Does this help ???
Martin --
P.S.I would like to ask you a dumb question offline when you get a chance

This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this email message is
addressed.  If you have received this email message in error, please notify
the sender immediately by telephone or email and destroy the original
message without making a copy.  Thank you.

----- Original Message ----- From: "Slattery, Tim - BLS" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <user@struts.apache.org>
Sent: Wednesday, April 04, 2007 1:34 PM
Subject: RE: Moving a Struts app from Weblogic 8 to Weblogic 9



Thanks for the clarification
2 suggestions

<!-- call init() method in ActionServlet class by setting
load-on-startup-->
  <load-on-startup>1</load-on-startup>

    <init-param>
      <param-name>debug</param-name>
      <param-value>1</param-value>
    </init-param>

I don't understand. <load-on-startup>1</load-on-startup> is already
there for ActionServlet.

Struts-config.xml:

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

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


<struts-config>


 <!-- ========== Form Bean Definitions
=================================== -->
<form-beans>
   <form-bean
       name="ListBean" type="gov.bls.idcf.freqs.struts.ListBean">
   </form-bean>
   <form-bean
   name="TabBean" type="gov.bls.idcf.freqs.struts.TabBean">
    </form-bean>
</form-beans>


<!-- ========== Global Forward Definitions
============================== -->
<global-forwards>
   <forward name="Home" path="/index.jsp" redirect="false"/>
   <forward name="SystemFailure" path="/content/systemError.jsp"
redirect="false"/>
   <forward name="SessionTimeOut" path="/content/sessionTimeout.jsp"
redirect="false"/>
   <forward name="InvalidPageRquest"
path="/content/invalidPageRquest.jsp" redirect="false"/>
   <forward name="PopupOpenError"  path="/content/PopupOpenError.jsp"
redirect="false"/>
   <forward name="ClosePopup"  path="/content/ClosePopup.jsp"
redirect="false"/>
   <forward name="Finish"  path="/content/Finish.jsp"
redirect="false"/>
</global-forwards>


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

   <action    path="/env"
              type="gov.bls.idcf.freqs.struts.PickDBAction"
              name="ListBean"
              scope="request">
       <forward name="collect" path="/index.jsp" redirect="false"/>
   </action>

   <action    path="/index"
              type="gov.bls.idcf.freqs.struts.HomeAction"
              name="ListBean"
              input="/index.jsp"
     scope="request">
     <forward name="collect"  path="/index.jsp" redirect="false"/>
   </action>

<action    path="/gettable"
              type="gov.bls.idcf.freqs.struts.GetTable"
              name="ListBean"
    input="/index.jsp"
             scope="request">
     <forward name="collect"  path="/index.jsp" redirect="false"/>
   </action>

   <action    path="/getfield"
              type="gov.bls.idcf.freqs.struts.GetField"
              name="ListBean"
  input="/index.jsp"
             scope="request">
     <forward name="collect"  path="/index.jsp" redirect="false"/>
   </action>

   <action    path="/tabulate"
              type="gov.bls.idcf.freqs.struts.Tabulate"
              name="ListBean"
             scope="request"
             input="/index.jsp">
     <forward name="tabpage"  path="/content/tabpage.jsp"
redirect="false"/>
   </action>

 </action-mappings>

 <message-resources parameter="freqs" null="false"/>

</struts-config>


I see that BEA has a Usenet server for their groups. So I used that
instead of trying to figure out the web interface. No response yer.

--
Tim Slattery
[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]

Reply via email to