ContactUs

Please send your Questions & Answers or Feedback to "mohan@javabook.org"

How action mapping is configured in Struts?

Action mappings are configured in the configuration file struts-config.xml under the tag <action-mapping> as follows:

[xml]

<pre><action-mappings>

<action path=”/login”

type=”login.loginAction”

name=”loginForm”

input=”/login.jsp”

scope=”request”

validate=”true”>

<forward name=”success” path=”/index.jsp”/>

<forward name=”failure” path=”/login_error.jsp”/>

</action>

</action-mappings>

[/xml]

Related Posts Plugin for WordPress, Blogger...
Flag Counter