Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Countdown Timer in JSP without javascript  RSS feed

 
Sarvya padwal
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i want to code Countdown timer in my jsp page but without using javascript for my web application.
because if i debug the javascript in browser, timer will stop and request can not get forward to java in ajax call.
I tried using response.setHeader("Refresh",60); but this mathod, i can't use as my server will shout for consecutive handling request and response.
Please help me to resolve this issue.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66141
141
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Your reason for not using JavaScript is totally specious. Of course debugging breakpoints are going to screw up timing. That's not a reason to avoid the right tool for the job.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!