问题1:No result defined for action com.flx.actions.UserAction and result mainPage 答:原因是Action返回的结果在Struts.xml配置文件中找不到。