Here is a smaller more succinct example to show the config-browser misbehaving. (No xml -- using convention plugin)
Jars in WEB-INF/lib: commons-collections-3.2.1.jar commons-fileupload-1.2.1.jar commons-logging-1.1.1.jar freemarker-2.3.13.jar log4j-1.2.15.jar ognl-2.6.11.jar struts2-config-browser-plugin-2.1.6.jar struts2-convention-plugin-2.1.6.jar struts2-core-2.1.6.jar xwork-2.1.2.jar ===== Input JSP: WEB-INF/WebContent/content/all/index.jsp <%@ taglib prefix="s" uri="/struts-tags"%> <html> <head> <title>Hello World</title> </head> <body> <h3> Enter Your Name </h3> <div> <s:form action="say-hello"> <s:textfield label="Name:" name="userName" size="30" maxlength="30" /> <s:submit value="Submit" /> </s:form> </div> </body> </html> ===== Action: actions.all.SayHelloAction.java package actions.all; public class SayHelloAction{ private static final long serialVersionUID = 1L; private String userName; public String execute() throws Exception { return "success"; } A 0 public String getUserName() { return userName; } public void setUserName(String userName) { this.userName = userName; } } ======= Output JSP: WEB-INF/content/all/say-hello-success.jsp <%@ taglib prefix="s" uri="/struts-tags"%> <html> <head> <title>Hello Success</title> </head> <body> Hello <s:property value="userName" /> </body> </html> ====== You still get the long list of incorrect properties in the config-browser :( Cheers Chris M -----Original Message----- From: Martin Gainty <mgai...@hotmail.com> To: Struts Users Mailing List <user@struts.apache.org> Sent: Wed, 25 Mar 2009 10:35 pm Subject: RE: Config-browser properties tab broken (2.1.6) can you post jsp and xml action config? thx, Martin ______________________________________________ Disclaimer and confidentiality note This message is confidential and may be privileged. If you are not the intended recipient, we kindly ask you to please inform the sender. Any unauthorised dissemination or copying hereof is prohibited. This message serves for information purposes only and shall not have any legally binding effect. Given that e-mails can easily be subject to manipulation, we can not accept any liability for the content provided. > To: user@struts.apache.org > Subject: Config-browser properties tab broken (2.1.6) > Date: Wed, 25 Mar 2009 21:18:00 -0400 > From: musom...@aol.com > > I find it doesn't matter which action you are looking at -- you get the same list of 38 key-value pairs which are clearly not the bean properties of your action. The list is pasted below: > It looks very much like we are getting the bean properties of some Class<?> object ...? > Chris M > > annotation boolean > annotations [Ljava.lang.annotation.Annotation; > anonymousClass boolean > array boolean > canonicalName java.lang.String > classLoader java.lang.ClassLoader > classes [Ljava.lang.Class; > componentType java.lang.Class > constructors [Ljava.lang.reflect.Constructor; > declaredAnnotations [Ljava.lang.annotation.Annotation; > declaredClasses [Ljava.lang.Class; > declaredConstructors [Ljava.lang.reflect.Constructor; > declaredFields [Ljava.lang.reflect.Field; > declaredMethods [Ljava.lang.reflect.Method; > declaringClass java.lang.Class > enclosingClass java.lang.Class > enclosingConstructor java.lang.reflect.Constructor > enclosingMethod java.lang.reflect.Method > enum boolean > enumConstants [Ljava.lang.Object; > fields [Ljava.lang.reflect.Field; > genericInterfaces [Ljava.lang.reflect.Type; > genericSuperclass java.lang.reflect.Type > interface boolean > interfaces [Ljava.lang.Class; > localClass boolean > memberClass boolean > methods [Ljava.lang.reflect.Method; > modifiers int > name java.lang.String > package java.lang.Package > primitive boolean > protectionDomain java.security.ProtectionDomain > signers [Ljava.lang.Object; > simpleName java.lang.String20 > superclass java.lang.Class > synthetic boolean > typeParameters [Ljava.lang.reflect.TypeVariable; > > _________________________________________________________________ Windows Live™ SkyDrive: Get 25 GB of free online storage. http://windowslive.com/online/skydrive?ocid=TXT_TAGLM_WL_skydrive_032009=