I am a beginner in JSP and I want to build a template. what I want exactly is to display images and background.
I built the following HTML code in Notepad and it worked perfectly. However, it is not working in JSP page.
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body BACKGROUND="background.png"/>
<table>
<tr>
<td>
<img src="brownie.png"/>
</td>
</tr>
<tr>
<td>Images
</td>
</tr>
</table>
</body>
</html>
I tried to put the full paths of the images, but it did not work too. Would you please tell me what I am missing.