Calling the Action

Print

 

When a method post is used to call an action method, the URL is composed by 

[ActionClass or ActionUrlBinding].[methodName].[pageExtension] 

In the previous example it would be MyAction.myMethod.page, where page is the page.extension defined in the web.xml file. 

The following form will call the action method:

<form name="myForm" action="MyAction.myMethod.page">
</form>