假设我有以下HTML表单:
<form name="createnewuser" action="verifyInfo.jsp">
... Contents of form here ...
</form>
在verifyInfo.jsp中,有没有办法调用表单的名称(理想情况下是某种${param}变量)?
好的,我正在使用Spring Webflow,目前我有一个包含两个jsp页面(视图)的流,第二个页面向第三方系统(payments)提交一个表单。
在我的pay-flow.xml中,我有这样的状态;
<!-- Initial state, the jsp(view) gathers the number of items to purchase -->
<view-state id="buy" view="credit/buy" model="credit">
<transition on="subm
我在其他流行的浏览器中没有这个问题。在JSP页面(让我们称之为Page1.jsp)中,我单击一个表单,它转到另一个页面。当我单击Opera的Back按钮时,它会返回到Page1.jsp,但是没有重新启动JavaScript或JSP代码。例如,
<!-- Inside header tag -->
<script language="JavaScript>
alert("Does this work in Opera?");
</script>
一个简单的警报语句不会触发。服务器端代码也是如此。然而,其他流行的桌面浏览器没有问题。