Versions Compared

Key

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

...

Code

Explination

@Include file="include_questionaire.jsp"

In this case it tells Web Survey Toolbox that this is the beginning of a questionnaire jsp file.

...

redirectRandomOrderTo

The type of randomization you are using

"Users"

...

The table you are going to save the pages the participant has visited

"RandomPageOrder"

...

The column in the table you are going to save the pages the participant has visited.

New String

...

In this case, it tells Web Survey Toolbox to randomize the pages listed next.

page1.jsp, page2.jsp, page3.jsp

...

The pages you are randomizing

Next page

...

The page that participants will be pointed to after they have visited all of the pages.

doneWithSurvey.jsp

...

The last page a participant will see. It conveniently has a link that starts the survey over for the next person. It could be ANY jsp page in your survey however.

@include file ="survey_end.jsp

...

Tells Web Survey Toolbox that this is the end of a survey jsp file.

  • Tip - Please note that jsp is very unforgiving, if a comma, or quote is missing or duplicated you will get an ugly error message complaining about what ever you missed, or wrongfully included. Luckily, it will usually provide some useful clues as to what is wrong. Make your changes, and re-upload, and test again if there are errors

...