为什么JBoss Post表单在URL中发送参数?

为什么JBoss Post表单在URL中发送参数?,jboss,double-submit-prevention,Jboss,Double Submit Prevention,我们的JBoss表单将参数发布到URL中,而不是请求中,尽管它是一个POST表单。我已经确认表单是使用Firebug在实际页面中发布的。请注意,这在portlet中 我们使用javascript提交表单,如: function submitForm(action, time) { document.getElementById("pageActionInputID").value = time; document.getElementById("timeSpanFormInput

我们的JBoss表单将参数发布到URL中,而不是请求中,尽管它是一个POST表单。我已经确认表单是使用Firebug在实际页面中发布的。请注意,这在portlet中

我们使用javascript提交表单,如:

function submitForm(action, time)
{
    document.getElementById("pageActionInputID").value = time;
    document.getElementById("timeSpanFormInputID").value = action;
    document.getElementById("formID").submit();
}



<form action="<portlet:actionURL></portlet:actionURL>" method="POST" id="formID">
<input type="hidden" name="pageAction" id="pageActionInputID" />
<input type="hidden" name="timeSpan" id="timeSpanFormInputID" />
</form>
“portlet”来自哪里

<%@ taglib uri="http://java.sun.com/portlet" prefix="portlet"%>
知道我们为什么要在URL中输入内容吗

以下是生成的标记的外观:

<form id="formID" method="post" action="/portal/auth/portal/myTab?action=1">
<input id="pageActionInputID" type="hidden" name="pageAction"/>
<input id="timeSpanFormInputID" type="hidden" name="timeSpan"/>
</form>

不过如果有人能证实这一点就太好了。我认为JBossPortlet抛出post/get,而是使用动作URL


表单的HTML输出是什么样子的?表单看起来是标准的请参见编辑。我认为这是因为我们在一个portlet中工作,它抛出post/get并使用动作url。有人能证实这一点吗?