Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Please note this tutorial is not the only means of randomization by far. There may very well be a much faster and better way for your application. Specificaly, using Repeated Measures. For additional info check the FAQ

...

Code Block
titlerandomMeasure.jsp
borderStylesolid
<%@include file="include_questionnaire.jsp"%>

<% /** randomMeasure.jsp will randomize measures A, B, and C **/
if (redirectRandomOrderTo("Users", "randomMeasure", new

String[]{"random.jsp", "random1.jsp", "random2.jsp", " })) {
} else {
redirectTo("doneWithSurvey.jsp");
}
%>

<%@include file="survey_end.jsp"%>

...