alex28
alex28

Reputation: 552

Reading *.WAR files

I'm working on a project involving servlets. Using JD Java Decompiler for Eclipse I can decompile and read through all the class files making up jars in Reference libraries. Is it possible to read the contents of a WAR file in a similar way?

Also, is there a way to break down executable jar files and read the original code?

Upvotes: 1

Views: 9730

Answers (1)

Pål Brattberg
Pål Brattberg

Reputation: 4698

Just unzip the .war file and decompile the individual classes. A WAR-file is a type of JAR-file.

Upvotes: 7

Related Questions