Theres a few errors I noticed taking a look at it:

1. You can't put <!-- comments --> inside a tag like this:
<tag atribute="value" <!--comment--> attribute1="value"/>

2. The edit alaska action is missing a " after the word request (scope
attribute)

Ive attached a corrected version of your struts-config to this email.
Give it a try and see if it helps.

You may want to download one of the many free utilities that an help in
preparing all this sort of config stuff for struts. Theres a few listed at:
http://jakarta.apache.org/struts/resources/guis.html


-----Original Message-----
From: Marcus Biel [mailto:Marcus.Biel@;bmw.de]
Sent: Wednesday, October 23, 2002 20:21
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: direct acess to Action


Well that is my full class name, I don't use a package.

Log ? Which log ?

>Have a good look at the rest of your struts-config as it may well be a typo
>in some other part of the xml and not related to this particular action
>after all.

Well, there could be a typo -
but I dunno when to close action paths, and when not.

Here comes my complete struts-config file:

<struts-config>

      <form-beans>
        <form-bean name="createPlantSelectBoxForm"
type="CreatePlantSelectBoxForm"/>
        <form-bean name="getAlaskaGroupsForm"
type="GetAlaskaGroupsForm"/>
        <form-bean name="alaskaGroupForm" type="AlaskaGroupForm"/>
      </form-beans>

      <global-forwards>
      <forward name="selectAlaskaGroupDone" path="/delConfirm.jsp"/>
        </global-forwards>

      <action-mappings>

        <action path="/createPlantList"
                                        type="CreatePlantListAction"
                                        name="createPlantListForm"
                                        scope="request"
                                        validate="false">
                                        <forward name="plantListCreated" 
path="index.jsp"/>
                                </action>

                                <action path="/getAlaskaGroups" <!-- by parameters you 
can also sort
the records  -->
                                        type="GetAlaskaGroupsAction" <!-- old 
CreateWerkeTableAction -->
                                        name="getAlaskaGroupsForm"   <!-- old 
werkAuswahlForm -->
                                        scope="request"
                                        input="/index.jsp">
                                        <forward name="getAlaskaGroupsDone" 
path="/index.jsp"/>
                                        validate="false">
                                </action>

        <action path="/addAlaskaGroup"
                                        type="AddAlaskaGroupAction"
                                        name="alaskaGroupForm" <-- Contains Group to 
be added -->
                                        scope="request"
                                        input="/index.jsp">
                                        <forward name="addAlaskaGroupDone" 
path="/getAlaskaGroups.do"/>
        </action>

        <action path="/editAlaskaGroup"
                                        type="EditAlaskaGroupAction"
                                        name="alaskaGroupForm"
                                        scope="request
                                        validate="true"
                                        input="/index.jsp">
                                        <forward name="editAlaskaGroupDone" 
path="/getAlaskaGroups.do"/>
                                        <forward name="cancelAlaskaGroupEdit" 
path="/getAlaskaGroups.do"/>
                                </action>

        <action path="/delAlaskaGroup"
                                        type="SelectAlaskaGroupAction" <-- selects 
Group to delete it -->
                                        name="alaskaGroupForm" <-- Contains Group to 
be deleted -->
                                        scope="request"
                                        validate="false"
                                        input="/index.jsp">
                                </action>

                                <action path="/confirmDelete"
                                        type="DeleteAlaskaGroupAction"
                                        name="alaskaGroupForm" <-- Contains Group to 
be deleted -->
                                        scope="request"
                                        validate="false"
                                        input="/delConfirm.jsp">
                                        <forward name="deleteAlaskaGroupDone" 
path="/getAlaskaGroups.do"/>
                                        <forward name="cancelAlaskaGroupDelete"
path="/getAlaskaGroups.do"/>
                                </action>

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

--
To unsubscribe, e-mail:
<mailto:struts-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail:
<mailto:struts-user-help@;jakarta.apache.org>
<struts-config>

      <form-beans>
      	<form-bean name="createPlantSelectBoxForm" type="CreatePlantSelectBoxForm"/>
        <form-bean name="getAlaskaGroupsForm" type="GetAlaskaGroupsForm"/>
        <form-bean name="alaskaGroupForm" type="AlaskaGroupForm"/>
      </form-beans>

      <global-forwards>
      <forward name="selectAlaskaGroupDone" path="/delConfirm.jsp"/>
     	</global-forwards>

      <action-mappings>

        <action path="/createPlantList"
					type="CreatePlantListAction"
					name="createPlantListForm"
					scope="request"
					validate="false">
					<forward name="plantListCreated" path="index.jsp"/>
				</action>

				<action path="/getAlaskaGroups"
					type="GetAlaskaGroupsAction"
					name="getAlaskaGroupsForm"
					scope="request"
					input="/index.jsp">
					<forward name="getAlaskaGroupsDone" path="/index.jsp"/>
					validate="false">
				</action>

        <action path="/addAlaskaGroup"
					type="AddAlaskaGroupAction"
					name="alaskaGroupForm"
					scope="request"
					input="/index.jsp">
					<forward name="addAlaskaGroupDone" path="/getAlaskaGroups.do"/>
        </action>

        <action path="/editAlaskaGroup"
					type="EditAlaskaGroupAction"
					name="alaskaGroupForm"
					scope="request"
					validate="true"
					input="/index.jsp">
					<forward name="editAlaskaGroupDone" path="/getAlaskaGroups.do"/>
					<forward name="cancelAlaskaGroupEdit" path="/getAlaskaGroups.do"/>
				</action>

        <action path="/delAlaskaGroup"
					type="SelectAlaskaGroupAction"
					name="alaskaGroupForm"
					scope="request"
					validate="false"
					input="/index.jsp">
				</action>

				<action path="/confirmDelete"
					type="DeleteAlaskaGroupAction"
					name="alaskaGroupForm"
					scope="request"
					validate="false"
					input="/delConfirm.jsp">
					<forward name="deleteAlaskaGroupDone" path="/getAlaskaGroups.do"/>
					<forward name="cancelAlaskaGroupDelete" path="/getAlaskaGroups.do"/>
				</action>

      </action-mappings>
    </struts-config>
--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@;jakarta.apache.org>

Reply via email to