Hi Alex, Unknown="true" is a special attribute which is useful in directing the unknown requests to the applications to a specific page. For example if you hit the URL of your application with http://localhost:7001/App/someThing.do and if this "someThing.do" is not a valid action in your Application "App" then it will be directed to an action whose unknown="true" in the struts-config.xml. There can be only one action with this unknown="true". The default value is false and it does NO harm to the action if explicitly unknown="false" is specified.
Regards, Rajasekhar Cherukuri axel maroudas <[EMAIL PROTECTED]> 10/22/2005 05:28 PM Please respond to "Struts Users Mailing List" <user@struts.apache.org> To user@struts.apache.org cc Subject unknown field in struts-config.xml Hello all! I am new to this mailing list. Actually this is my first post here. I have a problem regarding the struts-config.xml. I am using xdoclet to generate it. The situation is the following: The tags in the class as as follows: /** * @struts.action * path="/login" * name="LoginForm" * scope="request" * input="/jsp/login/loginScreen.jsp" * validate="true" * @struts.action-forward * name="Success" * path="/jsp/login/loginOk.jsp" * redirect="true" * @struts.action-forward * name="Failure" * path="/jsp/login/loginScreen.jsp" * redirect="true" * * */ public class LoginAction extends Action { ...... What is generated in the struts-config.xml is as follows: <action path="/login" type="com.am.struts.wamp3.user.presentation.LoginAction" name="LoginForm" scope="request" input="/jsp/login/loginScreen.jsp" *unknown="false"* validate="true" > <forward name="Success" path="/jsp/login/loginOk.jsp" redirect="true" /> <forward name="Failure" path="/jsp/login/loginScreen.jsp" redirect="true" /> </action> What is is this unknown="false"? How did it get there? Do I need it? How do I get rid of it? Thanx in advance axelmangr ____________________________________________________________________ http://www.freemail.gr - δωρεάν υπηρεσία ηλεκτρονικού ταχυδρομείου. http://www.freemail.gr - free email service for the Greek-speaking. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ForwardSourceID:NT00006762 Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you