简体   繁体   中英

Is it possible to package an .exe application in a war file?

I have one web application(.war) file. There is one tool (.exe) which is used for some computation but it is currently outside of this web application. We have a requirement, where we need to package this .exe file and .war file into single .war file, so that user can just click a particular link and .exe will be opened from the .war file.

My question is, is it possible to package both (exe and war) into the single war file? If yes, can please let me know the convinient way. I did some googling but most of the answer shows converting war to an exe file, which i dont require.

A war file is nothing more than a zip archive, as such you can place whatever you want inside.

Now the use case seems strange. Do you intend to download the executable from the website?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM