I am reading a HellowWorld tutorial for a servlet. The selector is defined in the HelloWorldServelet.java class. Super just displays the message "Hell world" on the client’s request. The only html file is "index.html" below. I don’t understand how the meta tag works. When I run the application on a web server, it automatically translates this page with the url:
http: // localhost: 8080 / helloworld / HelloWorld
How do the attributes "http-equiv" and "content" work with the service?
<html>
<head>
<meta http-equiv="Refresh" content="0; URL=HelloWorld">
</head>
</html>
source
share