即使更新后,JSP 仍显示数据库中的相同数据
我的 JSP 正在显示从 mysql 数据库中选择的相同数据。我使用 DAO 和 DTO 从数据库获取这些数据并显示在 JSP 中,但即使我更改数据库中的数据,它仍然显示以前的数据。可能是什么问题?
My JSP is displaying the same data selected from a mysql database. I use a DAO and DTO for getting this data from the database and display in the JSP but even when I change the data in the database, it still displays the previous data. What could be the problem?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
从 db 检索数据后,您在 dao 和 dto 中设置数据,并
在执行查询后检查您是否已给出。
After retriving the data from db have u set data in dao and dto also check if u have given
after executing the query .