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.
Project on Online Examination in JSP .ITs urgent Pls Pls do reply fast
|
Newbie Member
|
|
| 30Jan2012,00:16 | #1 |
|
Banned
|
|
| 30Jan2012,02:37 | #2 |
|
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 |
|
Newbie Member
|
|
| 31Jan2012,17:49 | #3 |
|
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>
Please |
