There are actual projects in the war package, but there is no source, struggling to view the source code, in the operation and maintenance group for the research and Development group despise, can not get the source code, only to decompile themselves.
Actually very simple!!!! Actually very simple!!!! Actually very simple!!!!
Important thing to say three times!
As long as you are careful, in fact, after extracting the war package, you can see the folder, there is already a JSP file, but there is no logical code layer (action, bean, etc.). Again carefully under the Web-inf folder to see, you will find that the class files are there, it is good to do. Recommend an anti-compile class tool "Jd-gui",: http://www.duote.com/soft/7793.html
The import is divided into two steps:
1. Import the War package
Right--import-warfile, import the war package. At this time, in Java resource, there is no code (Java code)
2. After you decompile the class file, import it into project.
After downloading Jd-gui, file-openfile, loading class, you can see the compiled Java files. Finally select Save all source, save and copy to the project project you just created.
The final code may be a little different and need to be fine-tuned, but you can develop and read the source code two times.
"Java" Eclipse Import War package two development