you can get ApplicationContext through ServletContext.
how to get ApplicationContext in SSH
when you get ServletContext ,use method below ,then you can get it :
=================================================
WebApplicationContext ct = WebApplicationContextUtils.getWebApplicationContext(context);
//context in here is ServletContext ,you got to find this in somewhere
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章
[转帖]国产主流数据库存储类型简析
濟南小老虎
2024-05-14 13:29:28
[转帖]IIS 403错误详细原因
濟南小老虎
2024-05-14 13:29:28
Windows下IIS部署自建CA证书进行双向认证的过程
濟南小老虎
2024-05-14 13:29:28
.NET周刊【5月第1期 2024-05-05】
InCerry
2024-05-14 13:27:58
deepin20.9启动器修改大圆角为小圆角
運維筆記
2024-05-14 13:24:07
Linux上执行内存中的脚本和程序
apocelipes
2024-05-14 13:22:37
3 个好玩的前端开源项目「GitHub 热点速览」
削微寒
2024-05-14 13:21:37
[湖仓架构] Apache Paimon核心原理
千千寰宇
2024-05-14 13:13:56
大厂技术同学的落地困境
老_張
2024-05-14 13:09:46
actor critic 玩carpole游戏
高顏值的殺生丸
2024-05-14 13:07:35
Q-learning 玩maze游戏
高顏值的殺生丸
2024-05-14 13:07:35
DQN玩cartpole游戏
高顏值的殺生丸
2024-05-14 13:07:35
C#.Net筑基-模式匹配汇总
/*夢裏花落知多少*/
2024-05-14 13:06:05