imgupload & img browse for ckeditor on JBoss server
Posted: 02 Jul 2015, 10:45
Hi, I am working with plugins for ckeditor developed by you. And I got stuck with a little problem. The plugins are imgupload.php and imgbrowse.php.
I am working in a Java Spring project and JBOSS server, so I generate a war file which is deployed by the Jboss, what the server does consist in uncompress the war file into a temp directory where it read the files.
Once I configure the ckeditor and the plugins everything works fine while I am saving the images into a folder inside the war file, the problem is, everytime jboss need to deploy the war or be restarted, because it overwrite the files previously deployed so I lose every image which has been upload. So I am trying to set a path outside the war file and into a JBOSS directory/folder but I am not getting what I am looking for.
I dont know what is the problem because I am getting no error. But what I know, is the imgupload.php does not upload anything and the imgbrowser.php does no show any image.
So my question is, how can I change the path and the directory to save my images from the war file to a Jboss server directory/folder?
Thank you for your help!!
I am working in a Java Spring project and JBOSS server, so I generate a war file which is deployed by the Jboss, what the server does consist in uncompress the war file into a temp directory where it read the files.
Once I configure the ckeditor and the plugins everything works fine while I am saving the images into a folder inside the war file, the problem is, everytime jboss need to deploy the war or be restarted, because it overwrite the files previously deployed so I lose every image which has been upload. So I am trying to set a path outside the war file and into a JBOSS directory/folder but I am not getting what I am looking for.
I dont know what is the problem because I am getting no error. But what I know, is the imgupload.php does not upload anything and the imgbrowser.php does no show any image.
So my question is, how can I change the path and the directory to save my images from the war file to a Jboss server directory/folder?
Thank you for your help!!