Struts 的问题!关于Action!!
下面代码中thorw 那行在Jbuilder 中报错 为何阿? 请教
---------------
package strutsdemo;
import org.apache.struts.action.*;
import javax.servlet.http.*;
public class myAction
extends Action {
public ActionForward perform(ActionMapping actionMapping,
ActionForm actionForm,
HttpServletRequest httpServletRequest,
HttpServletResponse httpServletResponse) {
/**@todo: complete the business logic here, this is just a skeleton.*/
myActionForm myActionForm = (myActionForm) actionForm;
String sA = myActionForm.getFieldA();
String sB = myActionForm.getFieldB();
myActionForm.setFieldResult(sA + sB);
return (actionMapping.findForward("input"));
throw new java.lang.UnsupportedOperationException("Method perform() not yet implemented.");
}
}