<%@ page language="java" session="true" contentType="text/html;charset=ISO-8859-2" %>
<%@ page import="com.etixpert.evolution.gui.servlets.*"%>
<%@ page import="java.util.*"%>
<%!
	
public String getVal(String name, HttpSession session) {
	Map m = (Map)session.getAttribute("test0.jsp");
	if (m == null) return "1";
	String[] vals = (String[])m.get(name);
	if (vals != null && vals.length>0 && vals[0] != null) return vals[0];
	return "2";
}
%>
<html>
<body>
<form action="process/test1.jsp?probaparam=lofasz" method="POST">
<input name="name0" type="text" value="<%=getVal("name0", session)%>" size="15"/>
<input name="name1" type="text" value="<%=getVal("name1", session)%>" size="15"/>
<input name="name2" type="text" value="<%=getVal("name2", session)%>" size="15"/>
<input type="hidden" name="saveState"/>
<input type="submit" value="ok"/>
</form>
</body>
</html>