javascript - JS and CSS are not loading -


when trying access jsp page, css , js not loading. using below syntax same:

<!doctype html> <%@page import="java.util.arraylist"%> <html lang="en"> <head> <link rel="stylesheet" type="text/css" href=webcontent/css/example.css /> <link rel="stylesheet" type="text/css" href=webcontent/css/bootstrap.min.css />  <title>example</title> </head> <body>     <jsp:include page="header.jsp" />       <jsp:include page="footer.jsp" />     <script src="webcontent/js/bootstrap.min.js"></script>           <script src="webcontent/js/jquery.min.js"></script>    </body> 

my css placed under webcontent -> css folder.

i tried using context path using ${pagecontext.request.contextpath}

i tried using "" value in href tag, of no use.

i stuck in issue last 2 days... :( please

<!doctype html> <%@page import="java.util.arraylist"%> <html lang="en"> <head>     <link rel="stylesheet" type="text/css" href="css/example.css"/>     <link rel="stylesheet" type="text/css" href="css/bootstrap.min.css"/>      <title>example</title> </head> <body> <jsp:include page="header.jsp"/>   <jsp:include page="footer.jsp"/> <script src="js/bootstrap.min.js"></script> <script src="js/jquery.min.js"></script> </body> </html> 

Comments

Popular posts from this blog

google api - Incomplete response from Gmail API threads.list -

Installing Android SQLite Asset Helper -

Qt Creator - Searching files with Locator including folder -