java.lang.IllegalArgumentException: Path register.jsp does not start with a “/” character
解决方法:
<!– 配置Action映射时 –>
<action-mappings>
<action path=”/register” parameter=”method” name=”registerForm” type=”struts.actions.RegisterAction” input=”/register.jsp”>
<forward name=”success” path=”/login.jsp”></forward>
<forward name=”failure” path=”/register.jsp”></forward>
</action>
</action-mappings>
register.jsp前面加上/符号