how to write css in jsp

Solutions on MaxInterview for how to write css in jsp by the best coders in the world

showing results for - "how to write css in jsp"
Josefa
22 Jul 2016
1
2<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
3<!DOCTYPE html>
4<html lang="en">
5<head>
6    <link href="<c:url value="/resources/css/main.css" />" rel="stylesheet">
7    <script src="<c:url value="/resources/js/jquery.1.10.2.min.js" />"></script>
8    <script src="<c:url value="/resources/js/main.js" />"></script>
9</head>
10<body>
11<h1>1. Test CSS</h1>
12
13<h2>2. Test JS</h2>
14<div id="msg"></div>
15
16</body>
17</html>
18