1 Reply Latest reply on Oct 17, 2006 12:05 PM by denis-karpov

    Javascript + Java

    sherkan777

      Hello,
      I have web page and some tags inside <c:if.../>
      When I go to those page server complies my *.xhtml and gives me components whose inside a <c:if... /> tag.
      I have also, javascript Counter who count down from 10,9,8... to 0.

      My problem is, when counter count down to zero i want to reload page BUT i want to re-complile *.xhtml again... to show what is inside <c:if.../>
      I tryed to use:
      document.location.href,
      document.location.replace,
      document.location.reload();

      The problem is page is reloaded, but without re-complile...how can i reload page from javascript and how can I tell serwer to recompile page?