Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/eclipse/8.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Java Spring工具套件3.4.0.0版本和html/jsp格式_Java_Eclipse_Html_Jsp - Fatal编程技术网

Java Spring工具套件3.4.0.0版本和html/jsp格式

Java Spring工具套件3.4.0.0版本和html/jsp格式,java,eclipse,html,jsp,Java,Eclipse,Html,Jsp,我不是eclipse用户,我被迫在我的项目中使用eclipse/STS3.4.0,所以我可能遗漏了一些东西 我的webapp中有几个jsp,它们是从另一个工具完全格式化的 例如,我从这个jsp“unautoizated.jsp”开始: 无访问页 哎呀! 你不应该在这里 在源代码>代码格式之后,我得到以下结果: <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>

我不是eclipse用户,我被迫在我的项目中使用eclipse/STS3.4.0,所以我可能遗漏了一些东西

我的webapp中有几个jsp,它们是从另一个工具完全格式化的

例如,我从这个jsp“unautoizated.jsp”开始:


无访问页
哎呀!
你不应该在这里

在源代码>代码格式之后,我得到以下结果:

<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<html>
<head>
<meta name="generator" content="HTML Tidy, see www.w3.org">
<title>NO ACCESS</title>
</head>
<body>
    <h1>Oops !</h1>

    <p>You should not be here !</p>
</body>
</html>

禁止进入
哎呀!
你不应该在这里

Html缩进在body标记之外完全被破坏了

我错过了什么?一些特定的插件?我搜索了配置面板,但没有找到任何方法来解决我的原始源文件无法接受的非格式化问题

<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<html>
<head>
<meta name="generator" content="HTML Tidy, see www.w3.org">
<title>NO ACCESS</title>
</head>
<body>
    <h1>Oops !</h1>

    <p>You should not be here !</p>
</body>
</html>