Here is an example and its struts.xml (you get the same result with convention plug-in)
===== package rain.actions.all; public class AddMusicRecordingAction{ private static final long serialVersionUID = 1L; private String artist; private String category; private double price; private String title; public String execute() throws Exception { return "success"; } public String getArtist() { return artist; } public String getCategory() { return category; } public double getPrice() { return price; } public String getTitle() { return title; } public void setArtist(String artist) { this.artist = artist; } public void setCategory(String category) { this.category = category; } public void setPrice(double price) { this.price = price; } public void setTitle(String title) { this.title = title; } } ===== <?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE struts PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 2.0//EN" "http://struts.apache.org/dtds/struts-2.0.dtd"> <struts> <constant name="struts.enable.DynamicMethodInvocation" value="false" /> <constant name="struts.devMode" value="true" /> <constant name="struts.convention.classes.reload" value="true" /> <constant name="struts.convention.action.disableScanning" value="true" /> <package name="rain-default" namespace="/all" extends="struts-default"> <action name="index"> <result>/WEB-INF/content/all/index.jsp</result> </action> <action name="add-music-recording" class="rain.actions.all.AddMusicRecordingAction"> <result>/WEB-INF/content/all/add-music-recording-success.jsp</result> </action> </package> </struts> ===== 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 the20sender. 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; > genericSupercl ass 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.String > 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=