当前位置:网站首页>Application virtual directory static resource configuration on tongweb
Application virtual directory static resource configuration on tongweb
2022-06-13 05:42:00 【t007321】
Configure virtual directory , The most important thing about static resources is to clarify the relative path problem , The following is an example .
The static resource directory is as follows :

In the application WEB-INF Under the directory tongweb-web.xml Format example :
<?xml version="1.0" encoding="UTF-8"?>
<tongweb-web-app>
<property name="aliases" value="/static01=/home/webappstatic01" />
</tongweb-web-app>
#static01 Is the access path
#/home/webappstatic01 Is the absolute path of static resources
边栏推荐
- Calculate the number of days between two times (supports cross month and cross year)
- 通过命令行创建harbor镜像库
- How to set the import / export template to global text format according to the framework = (solve the problem of scientific counting)
- Use the browser to cut the entire page (take chrome as an example)
- mongo
- Comment procéder à l'évaluation des algorithmes
- Building Nacos 2 based on docker compose (using MySQL for persistence)
- Building a stand-alone version of Nacos series
- First assessment
- Case - the list set stores student objects and traverses them in three ways
猜你喜欢

MySQL table data modification

OpenGL馬賽克(八)

Sentinel series introduction to service flow restriction

Mongodb Multi - field Aggregation group by

Solution to prompt "permission is required to perform this operation" (file cannot be deleted) when win10 deletes a file

How to Algorithm Evaluation Methods

JS output uincode code

Solutions to conflicts between xampp and VMware port 443

One of PowerShell optimizations: prompt beautification

Agile conflicts and benefits
随机推荐
Hainan University Postgraduate Entrance Examination electronic information (085400) landing experience
行情绘图课程大纲1-基础知识
OpenGL马赛克(八)
2 first experience of drools
Wampserver (MySQL) installation
Anaconda configuring the mirror source
18 flowable task manualtask and receivetask
How to set the import / export template to global text format according to the framework = (solve the problem of scientific counting)
The reason why the process cannot be shut down after a spark job is executed and the solution
Quartz basic use
动态规划-最长公共子串
Randomly fetch data from the list
Etcd fast cluster building
通过命令行创建harbor镜像库
为什么那么多人讨厌A-Spice
Building Nacos 2 based on docker compose (using MySQL for persistence)
Case - simulated landlords (primary version)
Parallelgateway and exclusivegateway of 14 gateways
Information collection for network security (2)
Dynamic programming - longest common substring