Project on Online Examination in JSP .ITs urgent Pls Pls do reply fast

Artim's Avatar, Join Date: Jan 2012
Newbie Member
I am doing online examination project in jsp and MS Access .
but i am not having idea about how it will select questions randomly and display on the page and how to implement Clock or timer on that page .

Please pls do reply for this query as soon as possible
and give me some code example with respect to the same.

Please please reply.
0
alssadi's Avatar
Banned
i hope the attachment file could help you , read the instruction in the attachment in file called readme.txt , you still have to work out with the configuration file according to your database in MS Acc .

the timer is also available there the only problem is the timer reset in every refreshment of your page if you got that sorted horay u done.

goodluck
Attached Files
File Type: rar 507-1228-Online Exam project.rar (5.2 KB, 132 views)
0
Artim's Avatar, Join Date: Jan 2012
Newbie Member
Thank u Sir for the guidance ,

i didn't understand much with this attachment kindly explain it with the some JSP example
sir pls tell me what more i can add to my project and pls give me some example.

I have one timer coding jus go through it and tell how can we implement it with the project
Code:
<html><head>  
<script>  
<!--  
<%  
String clock = request.getParameter( "clock" );  
if( clock == null ) clock = "180";  
%>  
var timeout = <%=clock%>;  
function timer()  
{  
if( --timeout > 0 )  
{  
document.forma.clock.value = timeout;  
window.setTimeout( "timer()", 1000 );  
}  
else  
{  
document.forma.clock.value = "Time over";  
///disable submit-button etc  
}  
}  
//-->  
</script>  
<body>  
<form action="<%=request.getRequestURL()%>" name="forma">  
Seconds remaining: <input type="text" name="clock" value="<%=clock%>" style="border:0px solid white">  
...  
</form>  
<script>  
<!--  
timer();  
//-->  
</script>  
</body></html>
Kindly Reply sir,
Please

Last edited by shabbir; 31Jan2012 at 17:54.. Reason: Code blocks