我正在看尚硅谷的springmvc的视频,我看到佟刚老师用ctrl shift r就可以看springmvc的源码,
比如说HiddenHttpMethodFilter,我却看不到为什么?
我也想看,我该怎么看?
巴扎黑2017-04-18 10:58:21
For example, if you want to see HiddenHttpMethodFilter, if there is no source code package, you will see a bunch of English when you open it. It will prompt you which package this class is in. You can download the package with the suffix code -sources, for example, put it on the desktop. Click the attached button in the page that is all in English, select external location and find the sources package on your desktop to get the source code
天蓬老师2017-04-18 10:58:21
You can consider importing it as a project:
Go to github and clone the project
Import your IDE according to the project’s build tool
Start the journey of looking at the source code
PHP中文网2017-04-18 10:58:21
If it is a maven project, the source code package will be automatically downloaded when you click on the spring class through the ide.