struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shervin Asgari <sher...@linpro.no>
Subject Simple question regarding Action class
Date Tue, 04 Jul 2006 13:05:45 GMT
Hello.

In the top of my action class I have the following:

-**
 * Administer Your Domain
 *
 * @struts.action name="domainAdministratorForm" 
path="/admin/domainAdministrator" scope="request"
 *                parameter="method"
 * @struts.action-forward name="domainAdministrator.page" 
path=".domainAdministrator"
 *
 * @author <a href="mailto:shervin@asgari.no">Shervin Asgari</a>
 *
 */
public class DomainAdministratorAction {
.
.
.
}

However in my struts-config.xml file which is auto generated, I do not 
get the Action Mapping Definitions.

I want something like this:
<action
      path="/admin/domainAdministrator"
      
type="org.roller.presentation.website.actions.DomainAdministratorAction"
      name="domainAdministratorForm"
      scope="request"
      parameter="method"
      unknown="false"
      validate="true"
    >
      <forward
        name="domainAdministrator.page"
        path=".domainAdministrator"
        redirect="false"
      />
</action>

What is missing? What have I forgotten to do? All my other Action 
Mapping Definitions are correctly auto-generated.

-- 
Shervin Asgari 



Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message