Win a copy of Java EE 8 High Performance this week in the Java/Jakarta EE forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Redirection problem with Javascript  RSS feed

Posts: 1
  • Mark post as helpful
  • send pies
  • 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 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.
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!