Forums de discussion
how to generate folder in our local system through a portlet
Akash Jaisawal, modifié il y a 8 années.
how to generate folder in our local system through a portlet
Regular Member Publications: 141 Date d'inscription: 03/03/12 Publications récentes
hi folkes,
i have created a portlet for file upload in my local drive, but i want the portlet created a folder automatically if the folder is not available on the given path.
any useful link guys?
Thanks
Akash
i have created a portlet for file upload in my local drive, but i want the portlet created a folder automatically if the folder is not available on the given path.
any useful link guys?
Thanks
Akash
David H Nebinger, modifié il y a 8 années.
RE: how to generate folder in our local system through a portlet
Liferay Legend Publications: 14916 Date d'inscription: 02/09/06 Publications récentes
org.apache.commons.io.FileUtils.forceMkdir()
Akash Jaisawal, modifié il y a 8 années.
RE: how to generate folder in our local system through a portlet
Regular Member Publications: 141 Date d'inscription: 03/03/12 Publications récentes
Thanks david,
http://www.mkyong.com/java/how-to-create-directory-in-java/ this is the perfect example for that :-)
http://www.mkyong.com/java/how-to-create-directory-in-java/ this is the perfect example for that :-)