Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Doubt in JSP

 
Siva Jagadeesan
Ranch Hand
Posts: 160
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi everybody:
I am doin a project "course test manager" , which will alllow the students to take the test online and professors can create revise modify and delete the test online and infact schedule them .
my doubt is hwo shoudl i design my take test interface. i don't wnat to use applets . i want to use JSP. i have bean called TestBean which has collection of QuestionBean . The QuestionBean has a property called type which can Mulitple type question od true/false or short answer.
If i display one question at a time , how can keep track of time that student is spendin answerin the question . Coz sometimes the server will be slow so he might hvae to wait for question a long time. Is there any other way to do this ?
the alterbnative i thought was to load all the questions in one frame and have another frame which will all the question numbers
so when the student clicks a question number using internal linkin i can change the question in the QuestionFrame . Then when he done i will post all the questions to my servlet.
Is this a good way to do this , or there is any other way to do this.
pls let me thank you
siva
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13077
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have been doing tests with servlets as part of the courses LANWrights teaches. Either JSP or servlets are quite suitable.
For the time problem - I would write the current system time as a hidden variable when the question form is generated. That should be pretty close to the actual time he sees the question.
I would certainly do things one question at a time instead of the monster form approach. That way you can keep partial results in a session - it the student loses connection you can probably restore the state correctly.
We are currently converting to XML for the question description. Getting good clear questions written turns out to be a lot of work so we want to be able to maximize possible re-use.

Bill

------------------
author of:
 
Siva Jagadeesan
Ranch Hand
Posts: 160
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear Willaim:
I don't know naything abt XML and i guess i don't hvae time now to study XMl and use in my project. So i guess i have to use JSP.
As u told me if i use one question form at one time , how can i keep track of the total time the student is spendin in order to finish that test. For exampple the stduent should finish the test within 3 hrs. how can i keep track of that?
More over won't it take more time if a student as to go back for each question to the eserver.
pls guide me
thank you
siva
 
Bob Moranski
Ranch Hand
Posts: 177
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, can you keep track of the time through session object or through cookie?
 
Siva Jagadeesan
Ranch Hand
Posts: 160
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi:
i am not sure how to keep tracj of time by session object
can u pls explian it to me
tahnk yoiu
siva
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic