liughmvc's People
Forkers
chinadci luoyeyeyu davidmr001 ginmoriarty ismart-yuxi sqb1217 hyogirl yinfan9527 qixianlong sangdy905817800 liupd coverxiaoeye junhenghelloworld hybridtheorylink bingforbetter gejiushishuai skjme ttwanggithub xiaozigbd laogang quan92 locklock123 heroxguo msdgwzhy6 marciaguo zjw940419 keepthehope norepeat skydengw water123li jincui886 starmercurykan jadenjunlanliu gitsamyivan alarm10086 codezerosakura zhangchmgg rycaon yuhaibao324 jizhenjin stevelinus andyiwen sduliyuxing hhy5277 abelliu-0916 wenguoxing dlqtinysoft timeday fi-null xiaodin1 yyxf wh1291104857 future1314 freestylewill longjiachun zhanzhenguang syllable2009 ywang412 neuxh2013 houchangok bzlz russellwin cjngh lyc88 mysilence msmrshu jobs-lgy qiweb qqlee cafey0411 zhanglailiang r4b3rt qinfengzhu fashionbrot anglabace yftan jerry-developer qq347139393 devtommy2 mgbin088 live0717 zyb9116 qiyue49 longzhutengyueliughmvc's Issues
MyDispatcherServlet中doScan方法中文路径乱码
URL url =this.getClass().getClassLoader().getResource("/"+packageName.replaceAll("\.", "/"));
如果该资源路径有中文,则会产生乱码
doScanner时找不到类
MyDispatcherServlet.java doScanner方法 157行
URL url =this.getClass().getClassLoader().getResource("/"+packageName.replaceAll("\.", "/"));
idea在本地内嵌jetty运行时,url为空指针错误。将 "/"+packageName.replaceAll("\.", "/") 改为 packageName.replaceAll("\.", "/")时才可以取到url,不知道博主有这个问题吗?
MyDispatcherServlet中initHandlerMapping方法需要从ioc容器中拿需要实例
controllerMap.put(url,clazz.newInstance()) 应该改为
controllerMap.put(url,entry.getValue())
静态资源处理
如果用/*来拦截所有请求,静态资源如何处理
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.