我创建了一个基于表单登录的应用程序,但登录页面似乎没有读取 css 并且几乎是空的。你知道我可能做错了什么吗?
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<HEAD>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" href="style.css">
<TITLE>E-Health</TITLE>
</HEAD>
<BODY>
<div id="link3">
<a href="reg">Εγγραφή χρήστη</a>
</div>
<div align="center" id="main">
<H1>Καλώς ήρθατε στο E-Health</H1>
<p><img src="images/medlogo.jpg" alt="logo1" height="200" width="200" /></p>
<form action="j_security_check" method="POST" autocomplete="off">
<p>Nickname:<input type="text" name="j_username" size="15"></p>
<p>Password:<input type="password" name="j_password" size="15"></p>
<br>
<input type="submit" value="Είσοδος">
</form>
</div>
<div id="footer">
Copyright © 2012 E-Health
</div>
</BODY>
</HTML>