Skip to content

Instantly share code, notes, and snippets.

Created January 7, 2016 11:00
<%@ page contentType="text/html;charset=utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"></meta>
</head>
<body onload="document.getElementById('form1').submit();">
<form action="http://serverIp:port/reports/rwservlet" method="post" id="form1">
<c:forEach var="entry" items="${sessionScope.reportMap}">
<input type="hidden" name="${entry.key}" value="${entry.value}" size="100"><br>
</c:forEach>
<input type="hidden" value="username/password@orcl" name="userid" size="100"><br>
</form>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment