how to add a pkzip command line in a jsp code

I have a text file created using jsp.I need to compress file using PKZIP (pkzip -as<password> -n+ <zip file> <filename>).I wants to add this compression automatically using the jsp code.My application server is linux based.
itdeptalansariAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
KuldeepchaturvediConnect With a Mentor Commented:
if you want to run it as a command line parameter than you can use System.getRuntime().exec("your command");
0
 
itdeptalansariAuthor Commented:
'''''
0
 
VenabiliCommented:
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0
All Courses

From novice to tech pro — start learning today.