There are two possible bugs related to the exampe pages index.jsp and html-link.jsp in the struts-exercise-taglib in struts beta 1 release.
The first one appeard in 04/03 nightly build. When clicking the link in the index.jsp that is pointing to the html-link.jsp, an exception is thrown for a reason message resources not found under key org.apache.struts.action.MESSAG. A quick fix I think is to change the BaseHandlerTag.message(String literal, String key). When both literal and key are null, this method should return null. Right now it will go ahead to invoke RequestUtils method and throw exception there. The second bug appeared since 03/19, the formal b1 release. When clicking the 'Cancel' button on the html-link.jsp, an exception is thrown for 'array element type mismatch' in PropertyUtils.setIndexedProperty(...). The exception is thrown because the TestBean has no indexed method for stringArray while the PropertyUtils is invoking setIndexedProperty when it sees the stringArray[0] as the property name. A quick fix I could think right now is to change the BeanUtils.populate method around the section '// Conver the parameter value as required for this setter method' Origianl section: if(parameterTypes.length > 1) parameterType = parameterTypes[1]; // Indexed or mapped setter Change to: if(parameterTypes.length > 1) { parameterType = parameterTypes[1]; // Indexed or mapped setter } else { int nestedDel = name.lastIndexOf(PropertyUtils.NESTED_DELIM); int indexedDel = name.lastIndexOf(PropertyUtils.INDEXED_DELIM); if(indexedDel > nestedDel) { // PropertyUtils will invoke setIndexedProperty later, but actually the method is not indexed if(parameterType.isArray()) { parameterType = parameterType.getComponentType(); } } } The way of the fix is not optimized, it just fixes the problem shown in the html-link.jsp. I just started to look at the beta 1 codes and may overlooked other aspects of the overall architecture. Let me know if anyone finds the same exceptions or they are addressed somehow in another way. Thanks, Jing -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>