<%@ page import="query.UnitLevelQuery" %> <%@ page import="collections.CollectionManagement" %> <%@ page import="unitlevel.UnitLevelExtractor" %>

Send the result by e-mail
<%HttpSession currSession = request.getSession(); UnitLevelQuery ULquery = (UnitLevelQuery) currSession.getValue("ULQuery"); String stat = request.getParameter("Statut"); if (stat != null){ if (stat.compareTo("OK")==0) { String email = request.getParameter("Email"); if (email != null){ UnitLevelExtractor ule = new UnitLevelExtractor(); ule.sendResultByMail (ULquery, email); out.println("
Your request will be processed

"); out.println(""); } } } else { %>
With this option, you will receive the result by e-mail.
Your e-mail:

<%}%>