我正在阅读一篇有关Servlet "HellowWorld" 教程的文章。该servlet定义在HelloWorldServelet.java类中,很容易向客户端请求输出"Hello world"消息。唯一的HTML文件是下面的“index.html”。我不理解meta标签的工作原理。当我在Web服务器上运行应用程序时,它会自动将此页面与以下URL链接:
http://localhost:8080/helloworld/HelloWorld
这些属性"http-equiv"和"content"如何与servelet一起工作?
<html>
<head>
<meta http-equiv="Refresh" content="0; URL=HelloWorld">
</head>
</html>