Solved

how to add a pkzip command line in a jsp code

Posted on 2009-04-11
4
397 Views
Last Modified: 2012-05-06
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.
0
Comment
Question by:itdeptalansari
4 Comments
 
LVL 19

Accepted Solution

by:
Kuldeepchaturvedi earned 500 total points
ID: 24122675
if you want to run it as a command line parameter than you can use System.getRuntime().exec("your command");
0
 

Author Comment

by:itdeptalansari
ID: 25625334
'''''
0
 
LVL 20

Expert Comment

by:Venabili
ID: 35872703
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Javascript onclick event 4 107
xjc and jaxb 2 90
how to exclude a file using regex 5 117
difference between projection and projection list in hibernate 1 102
Large Outlook files lead to various unwanted errors and corruption issues. Furthermore, large outlook files can also make Outlook take longer to start-up, search, navigate, and shut-down. So, In this article, i will discuss a method to make your Out…
When rebooting a vCenters 6.0 and try to connect using vSphere Client we get this issue "Invalid URL: The hostname could not parsed." When we get this error we need to do some changes in the vCenter advanced settings to fix the issue.
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’ As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

27 Experts available now in Live!

Get 1:1 Help Now