方法一、
<form action="${pageContext.request.contextPath}/test/xx.action">
</form>
方法二、
<form action="test/xx.action">
</form>
方法一、
<form action="${pageContext.request.contextPath}/test/xx.action">
</form>
方法二、
<form action="test/xx.action">
</form>