wood burning stoves 2.0*
The moose likes Struts and the fly likes struts-config.xml Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "struts-config.xml" Watch "struts-config.xml" New topic


jazy smith
Ranch Hand

Joined: Nov 18, 2009
Posts: 101
Hi all,

<action path="/logout"

<forward name="loggedout"


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

Joined: Sep 29, 2008
Posts: 12617

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

Joined: Sep 29, 2008
Posts: 12617

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.
subject: struts-config.xml
Similar Threads
TagUtils error, help !!!
how to determine the forward? [s1]
getting ClassNotFoundException
Struts with tiles - Urgent help needed.
html:Link not able to retrieve ActionForward