Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

struts-config.xml

 
jazy smith
Ranch Hand
Posts: 101
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

<action path="/logout"
type="com.mvnforum.actions.LogoutAction">

<forward name="loggedout"
path="/mvnforum/index"
redirect="true"/>

</action>


in struts-config.xml, (1) what does path attribute in <action> tag and in <forward> tag do ? (2) when does <forward> is executed and how does it's mapping done ?
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you looked at any of the Struts 1 documentation or any of the *many* Struts 1 tutorials available on the web? This is pretty basic Struts stuff--I'd encourage you to at least check out the documentation to get a handle on the fundamentals before proceeding much further.
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Also, please UseCodeTags when posting code or configuration. Unformatted code and configuration is very difficult to read. You can edit your post to include them by using the button.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic