gpt4 book ai didi

java - 更改index.html拒绝在Web应用程序的实际运行中发生

转载 作者:行者123 更新时间:2023-12-02 07:39:10 24 4
gpt4 key购买 nike

当我尝试编辑 index.html 文件时,发生了一些非常奇怪的事情。

我正在使用 Java 中的 jsp-s 和 servlet

当我尝试更新其中一个字段时,例如:

<!DOCTYPE html>
<html>
<head><title>Bank application</title>
<link rel="stylesheet"
href="./css/styles.css"
type="text/css"/>
</head>
<body>
<table class="title">
<tr><th>Bank application</th></tr>
</table>

<br/>
<fieldset>
<legend>Bank Account Balance</legend>
<form action="show-balance">
Customer ID (id001, idffffffffffffffffdsafds002, id003):
<input type="text" name="cusdddddddddddddddddddddddddddtomerId"/><br/>
<input type="submit" value="Sddddddddddddddddddddddddddddddddddddddhow Balance"/>
</form>
</fieldset>

<br/>

// from here, the rest is the same as the above

我明白了(和以前一样):

enter image description here

为什么更改index.html文件时没有发生任何变化?

我正在使用:

  1. Apache 7
  2. Xampp

谢谢

最佳答案

浏览器将缓存 HTML 文件,除非您明确告诉浏览器刷新 (ctrl + F5)。我猜您只是加载 HTML 的缓存版本。

关于java - 更改index.html拒绝在Web应用程序的实际运行中发生,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11808800/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com