当前位置:网站首页>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
边栏推荐
猜你喜欢

How to judge whether you are suitable for software testing

深度学习网路模型

Three traversal methods of binary tree (recursive + non recursive) complete code

lock

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

Distributed remote management of distribution room environment

New characteristics of cultural consumption in the era of digital economy

Chapter 4:win10 installing mingw64

Article 7: there is no code prompt in clion,,,

利用Qt制作美化登录界面框
随机推荐
Introduction to microservices
[matlab] numerical calculus and equation solving
【日常记录】——对BigDecimal除法运算时遇到的Bug
利用Qt制作美化登录界面框
Qt产生指定范围内随机数(随机字符串)
TLV decoding
配电室环境的分布式远程管理
Indexes
lock
Garbage collector and memory allocation strategy
篇4:win10安装MingW64
new TypeReference用法 fastjson[通俗易懂]
Three traversal methods of binary tree (recursive + non recursive) complete code
A simple and easy-to-use graph visualization tool developed recently
揭秘GES超大规模图计算引擎HyG:图切分
The Stackies 2022:32个营销技术栈入选
力扣每日一题-第27天-561.数组拆分Ⅰ
Hover effect of eight buttons
Computing architecture of microblog comments
20 provinces and cities announce the road map of the meta universe