%@ include file="../../shared/header.inc" %>
<%@ page language="Java" import="kotkabeans.*, kolibribeans.*, java.sql.*,
kiurubeans.*,kottarainenbeans.*, java.util.*" session="true"
autoFlush="true" isThreadSafe="true" isErrorPage="false"
%>
<%
/*****************************************************************************
* PAGE DESCRIPTION
******************************************************************************
*
* NAME: resultHandler.jsp
* LANGUAGE: jsp
* DATE: 13.5.2003
* AUTHOR: Timo Ylönen ja Teemu Vähä-Ruka,
* Jyväskylän yliopisto
*
******************************************************************************
* COPYRIGHT (C) KOTTARAINEN-PROJEKTIRYHMÄ
* Limited rights granted. Please refer to license
******************************************************************************
******************************************************************************
* UPDATES
******************************************************************************
*
* 13.5.2003 Initial release
* 10.6.2003 Code cleanup by Tiina Pöyhönen
*
******************************************************************************/
pageContext.setAttribute("checkMethod", "SIMPLE");
%>
<%@ include file="../../shared/userCheck.inc" %>
<%@ include file="../../shared/menus.inc" %>
<%
String templatePath =
pageContext.getServletContext().getRealPath("/survey/sqlt");
save.setJSPvid("questionforanswering");
save.setTemplatePath(templatePath);
save.setTH(templatePath);
Properties commonVars = re.Extract(request);
save.setPersonid(user.getPersonID());
save.getFieldsAndResults(commonVars); //saves answer to database
String print = "Kiitoksia vastauksestasi!"; //later this should be optional
%>
<%=print%>
<%@ include file="../../shared/footer.inc" %>
<%
/*****************************************************************************
* COPYRIGHT (C) KOTTARAINEN-PROJEKTIRYHMÄ
* Limited rights granted. Please refer to license
******************************************************************************/
%>