• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Junilu Lacar
  • Liutauras Vilda
Sheriffs:
  • Paul Clapham
  • Jeanne Boyarsky
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
Bartenders:
  • Jesse Duncan
  • Frits Walraven
  • Mikalai Zaikin

Redirection problem with Javascript

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am desiging online test application. I am facing some problem with javascript. I hava a jsp page with javascript which will redirect the user to QAC.jsp page after 1 minute.When I come to my QA.jsp from localhost ie http://localhost:8080/Test/QA.jsp I am able to redirect to QAC.jsp page and do the further processing. But when I come to the page from network ie http://192.168.1.12:8080/Test/QA.jsp it just refreshes QA.jsp but I am not being redirected to QAC.jsp page.
Is there any modifications needed in the Javascript code.
Or can anyone suggest me better approach and sample codefor timed redirection for JSP.
 
pie. tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic