Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p><a href="http://docs.oracle.com/javaee/5/tutorial/doc/bnajb.html" rel="nofollow"><strong>The include directive</strong></a> </p> <blockquote> <p><strong>The include directive is processed when the JSP page is translated into a servlet class.</strong> The effect of the directive is to insert the text contained in another file (either static content or another JSP page) into the including JSP page. You would probably use the include directive to include banner content, copyright information, or any chunk of content that you might want to reuse in another page. The syntax for the include directive is as follows:</p> </blockquote> <pre><code>&lt;%@ include file="filename" %&gt; </code></pre> <p>Remember <em>JavaScript is executed at the client</em> side not at server side. </p> <p><a href="http://www.w3.org/TR/html401/interact/scripts.html" rel="nofollow"><strong><code>&lt;script&gt;</code> tag</strong></a></p> <blockquote> <p>A client-side script is a program that may accompany an HTML document or be embedded directly in it. The program executes on the client's machine when the document loads, or at some other time such as when a link is activated. </p> <p>The <code>&lt;script&gt;</code> tag is used to define a client-side script, such as a JavaScript.</p> <p>The <code>&lt;script&gt;</code> element either contains scripting statements, or it points to an external script file through the src attribute.</p> <p>Common uses for JavaScript are image manipulation, form validation, and dynamic changes of content.</p> </blockquote> <p><strong>Solution</strong> </p> <p>Remove </p> <pre><code>&lt;%@ include file="/project/Util.js" %&gt; </code></pre> <p>Add </p> <pre><code>&lt;script src="/project/Util.js" type="text/javascript"/&gt; </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload