当前位置:网站首页>JSP page running but displaying source code
JSP page running but displaying source code
2022-06-25 18:05:00 【Full stack programmer webmaster】
Hello everyone , I meet you again , I'm your friend, Quan Jun .
Use SpringMVC Jump to the page , But the page display is missing JSP Source code , as follows :
Find various reasons through the Internet , Finally find a solution , as follows :
The problem is that in web.xml In the document “/*”, Access... In this form jsp When you file , asterisk “*” Will be able to *.jsp,*.sql,*.txt All as txt Handle . The result is to load directly in the browser jsp Source code .
therefore , Just put the asterisk “*” Get rid of , Change to another form of access . Such as “.do”、“/” And so on .
Publisher : Full stack programmer stack length , Reprint please indicate the source :https://javaforall.cn/151144.html Link to the original text :https://javaforall.cn
边栏推荐
猜你喜欢

Part 5:vs2017 build qt5.9.9 development environment

Unity technical manual - interference / noise sub module

How to judge whether you are suitable for software testing

CentOS7 安装 Redis 7.0.2

Operating steps for installing CUDA in win10 (continuous improvement)

Intelligent dialog 01 redis installation

SDN system method | 10 The future of SDN

ACY100油烟浓度在线监控仪针对饮食业厨房油烟排放

The Stackies 2022:32个营销技术栈入选

观察者模式之通用消息发布与订阅
随机推荐
The Stackies 2022:32个营销技术栈入选
VSCode /**生成函数注释
ASP.NET超市便利店在线购物商城源码,针对周边配送系统
篇5:VS2017搭建QT5.9.9开发环境
jupyter的使用
Swagger implements background interface automation document
Why do we need ankeri's active power filter in frequency converter occasions?
怎么判断自己是否适合转行软件测试
Redis趋势—NVM内存
SQL Server实时备份库要求
[machine learning] case study of college entrance examination prediction based on multiple time series
Agent white paper - jointly build agents and create the wisdom of the whole scene | cloud library No.21 recommendation
Unity technical manual - interference / noise sub module
Computing architecture of microblog comments
什么是算子?
Kotlin of Android cultivation manual - several ways to write a custom view
解决nvprof 报错ERR_NVGPUCTRPERM - The user does not have permission to profile on the target device.
How to open a stock account is it safe to open an account
Introduction to microservices
广发易淘金和指南针哪个更好,更安全一些