I have next from:
<form action="relogin.jsp" method="post">
<input type="text" id="authname" name="login" value="<%=login%>" tabindex="1" title="<%=bundle.getString("[Login]")%>" />
<input type="password" name="pwd" id="authpass" value="" tabindex="2" title="<%=bundle.getString("[Password]")%>" />
<input type="submit" name="enter" value="<%=bundle.getString("[Enter]")%>" class="proaction" tabindex="3" title="<%=bundle.getString("[Enter]")%>" />
</form>
我在我的JSP文件中维护参数:
<%if (request.getContentLength() == 0) { .[IE6,7 goes here]. } else { .[Chrome and FireFox goes here]. } %>
你可以看到,我有一个问题是无法维护IE6、7中发布的帖子参数。在Chrome和FireFox中一切正常。我使用Apache Tomcat,但日志文件在这两种情况下都没有包含任何错误。
有什么建议吗?
request.postdata
包含值,但最终它们没有被解析。 - Xupypr MV