在线等!一个隐含登录的问题:
希望能够:form提交经过验证号,直接在本页面显示target所指的iframe,而不弹出新窗口显示form提交成功后的页面,即不想显示登录成功页面。
<form action="http://localhost:8085/frame/login.jsp" target="my2" name="formA">
<input type="hidden" name="j_username" id="j_username" value="<%=user%>">
<input type="hidden" name="j_password" id="j_password" value="<%=password%>">
</form>
<SCRIPT>
document.formA.submit();
</SCRIPT>
<iframe name="my2" id="my2" src="http://localhost:8085/frame/show.jsp"></iframe>