On Sunday 28 December 2008 17:11, Carlos E. R. wrote:
On Sunday, 2008-12-28 at 18:50 -0600, Rajko M. wrote:
In KDE Personal Settings > KDE Components > File Associations, the war extension can be found in application/x-webarchive and it is associated with Konqueror. Though, I don't know is there Konqueror handler for such file.
Konqueror can save a web page together with all images and associated files needed to display it as a .war archive (tools menu):
I'm not sure how to make sense out of that. WAR files, which hold J2EE Web Applications, simply cannot be run in isolation. They are, by definition, not self-contained. They require a J2EE-compatible servlet container in which to execute. Furthermore, their actions are 100% driven by requests issued by clients (almost always via HTTP).
cer@nimrodel:~> file openSUSE.org.war openSUSE.org.war: gzip compressed data, was "", from Unix, last modified: Mon Dec 29 02:05:07 2008
(it is just a tar.gz by another name)
No. WAR files are JAR files with additional internal content and structuring requirements. JAR files are PKZIP files (often known as WinZip or simpley Zip files). The encoding is distinctly different from that of gzip (acting on TAR archive output) and no gzip-compressed TAR file will ever be accepted by Java as as JAR file or by a J2EE-compatible servlet container as a WAR file, regardless of how it is named.
and of course, it can reopen the archive off-line. This feature has been there for years, and it works. I just tested it with the kde3 version of konqueror.
Certainly a WAR or JAR file may be _examined_ without recourse to Java or a J2EE Servlet Container, but they most certainly cannot be _executed_ in the absence of that software.
-- Cheers, Carlos E. R.
Randall Schulz -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org