How to run unix command from JSP
Posted on 2006-07-13
Can anybody please guide me on how to run a unix commands from jsp application ported on the unix box?
My requirement is to navigate to a particular Unix directory and run the command like: text2ps -l -m t.1.25, b.5,.5 -r 60 -c 165 -s0.85 | distill > av_report.pdf (this command creates PDF from ASCII/text files)
If you could give a sample code, it will be a great help.