/**
* {@inheritDoc}
*/
public String determineResultPath(Class<?> actionClass) {
String localResultPath = resultPath;
ResultPath resultPathAnnotation = AnnotationUtils.findAnnotation(actionClass, ResultPath.class);
if (resultPathAnnotation != null) {
if (resultPathAnnotation.value().equals("") && resultPathAnnotation.property().equals("")) {
throw new ConfigurationException("The ResultPath annotation must have either" +
" a value or property specified.");
}
String property = resultPathAnnotation.property();
if (property.equals("")) {
localResultPath = resultPathAnnotation.value();
} else {
try {
ResourceBundle strutsBundle = ResourceBundle.getBundle("struts");
localResultPath = strutsBundle.getString(property);
} catch (Exception e) {