我尝试了很多方法,但 html 标题没有显示在 struts2 应用程序中。像这样的简单代码
<html>
<head><title>Test</title></head>
<body>
我不确定是 tomcat 服务器还是 Struts2 的问题。你能帮忙吗?
最佳答案
也许最新的浏览器不支持您的 html 代码。你可以使用 w3c 验证器 http://validator.w3.org/测试您的代码是否有错误。
关于html 标题未显示在部署在 tomcat 服务器上的 struts2 中,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18245470/