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

Discussion in 'JSP' started by Artim, Jan 29, 2012.

  1. Artim

    Artim New Member

    Joined:
    Jan 29, 2012
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    0
    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.
     
  2. alssadi

    alssadi Banned

    Joined:
    Dec 11, 2010
    Messages:
    41
    Likes Received:
    3
    Trophy Points:
    0
    Occupation:
    Creative director & web developer
    Location:
    Dubai
    Home Page:
    http://uaeinfographics.blogspot.com/
    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:

  3. Artim

    Artim New Member

    Joined:
    Jan 29, 2012
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    0
    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 a moderator: Jan 31, 2012

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice