How to introduce a CSS style table file and a JavaScript file in the JSP page

xiaoxiao2021-03-06  126

One: How do I introduce a CSS style table file in the JSP page?

1. Firstly, write a written CSS style table content to * .css format. STYLE.CSS

2, introduce this CSS style file in the page. Introduced as follows.

The href = "./ CSS / style.css" here refers to the path stored in the CSS file. '.' Please present the current directory (that is, the JSP page introduced into the CSS file in the same directory)

Two: How do I introduce a JavaScript file in the JSP page? Introducing a JSP page to introducing a JavaScript file and introducing a CSS style file. Introduced as follows;