S
siujean
Dear all,
I want to list all the file in a unix directory and display in jsp.
And the directory have below files:
-tmp1.txt
-tmp2.txt
-log.txt
-blog.txt
I used the runtime object and Runtime.exec ('ls -lrt') which can get
the file list suceesful.
But when i use Runtime.exec('ls -lrt tmp*) , then it get nothing
Pls kindly help.
Tks
I want to list all the file in a unix directory and display in jsp.
And the directory have below files:
-tmp1.txt
-tmp2.txt
-log.txt
-blog.txt
I used the runtime object and Runtime.exec ('ls -lrt') which can get
the file list suceesful.
But when i use Runtime.exec('ls -lrt tmp*) , then it get nothing
Pls kindly help.
Tks