当前位置:网站首页>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
边栏推荐
- QT generate random numbers (random strings) within the specified range
- Part 5:vs2017 build qt5.9.9 development environment
- What is public chain development? What are the public chain development projects?
- Essential characteristics of convolution operation +textcnn text classification
- 智能体白皮书 - 共建智能体,共创全场景智慧 | 云享书库NO.21推荐
- What is an operator?
- 解决nvprof 报错ERR_NVGPUCTRPERM - The user does not have permission to profile on the target device.
- CGI connects to database through ODBC
- 1、对范数的理解
- Utilisation de diskgenius pour augmenter la capacité du disque système C
猜你喜欢

Recursion and divide and conquer

篇6:CLion:Toolchains are not configured Configure Disable profile

Part 5:vs2017 build qt5.9.9 development environment

The stacks 2022:32 marketing technology stacks selected

IVX 启航
Qinheng ch583 USB custom hid debugging record

Wechat applet reports an error: request:fail URL not in domain list

什么是算子?

What is an operator?

近来开发的一款简单易用的图可视化工具
随机推荐
A simple and easy-to-use graph visualization tool developed recently
Uncover ges super large scale graph computing engine hyg: Graph Segmentation
Encryption trend: Fashion advances to the meta universe
[matlab] data statistical analysis
Introduction to microservices
一些常用的知识点积累
Indexes
ASP. Net supermarket convenience store online shopping mall source code, for the surrounding distribution system
BILSTM和CRF的那些事
Idea global search for Chinese characters [easy to understand]
Mobile heterogeneous computing technology - GPU OpenCL programming (basic)
【工作小技巧】刚入职的软件测试工程师怎么快速上手新岗位
Hover effect of eight buttons
配电室环境的分布式远程管理
微博评论的计算架构
Bert's summary of me
Deep understanding of ELF files
158_模型_Power BI 使用 DAX + SVG 打通制作商业图表几乎所有可能
SQL Server实时备份库要求
使用DiskGenius拓展系統盤C盤的容量