I wrote a basic Hello World we dynamic project with the apache server installed with it.
Web.xml content is,
<display-name>hello</display-name>
<welcome-file-list>
<welcome-file>hello.html</welcome-file>
</welcome-file-list>
hello.xml is,
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://ift.tt/kTyqzh">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
Hello World!!
</body>
</html>
After starting my apache, I'm trying to access the URL,
http://localhost:8080/hello.xml
Getting error as : HTTP Status 404 - /hello.xml
Any suggestion?
Aucun commentaire:
Enregistrer un commentaire