Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

refreshing jsp pages

ArnieArnie Member Posts: 155
whenever i have an include statement, for example like the one below:
<%@ include file ="header.html" %>
in a jsp page, and then i update header.html, when i refresh the jsp page, it doesn't refresh the header along with it. how do i make it so it refreshes the include file as well as the normal jsp page?

Comments

  • gnairgnair Member Posts: 17
    : whenever i have an include statement, for example like the one below:
    : <%@ include file ="header.html" %>
    : in a jsp page, and then i update header.html, when i refresh the jsp page, it doesn't refresh the header along with it. how do i make it so it refreshes the include file as well as the normal jsp page?
    :

    unfortunately this is a well known vendor specific behavior on most J2EE containers. u could execute "touch"
    on Unix sytems to update the JSP time stamps or re-save the jsp in Windows systems. There is a version of touch for
    Windows. The url keeps changing, so best to search for it.
    good luck,
    Gary
  • gnairgnair Member Posts: 17
    : whenever i have an include statement, for example like the one below:
    : <%@ include file ="header.html" %>
    : in a jsp page, and then i update header.html, when i refresh the jsp page, it doesn't refresh the header along with it. how do i make it so it refreshes the include file as well as the normal jsp page?
    :

    unfortunately this is a well known vendor specific behavior on most J2EE containers. u could execute "touch"
    on Unix sytems to update the JSP time stamps or re-save the jsp in Windows systems. There is a version of touch for
    Windows. The url keeps changing, so best to search for it.
    good luck,
    Gary
  • Andre YoungAndre Young USAMember Posts: 0

    __ \ http://forcoder.org \ free ebooks and video tutorials about ( PL/SQL, MATLAB, Assembly, C, Visual Basic .NET, Python, Java, Swift, Visual Basic, Perl, PHP, C++, C#, R, Delphi, Go, Objective-C, Ruby, Scratch, JavaScript Kotlin, Lisp, Ada, LabVIEW, Clojure, ABAP, Scheme, Bash, ML, FoxPro, Julia, VBScript, COBOL, Prolog, Alice, Logo, D, Dart, Crystal, Erlang, Scala, Apex, SAS, F#, Awk, Lua, Hack, Fortran, Rust, Transact-SQL ) ___

Sign In or Register to comment.