Jump to content

Image Upload Folder Outside My Project


shobhanb

Recommended Posts

Hi Team,

 

I have created an eclipse project where I upload images in a folder which is outside my eclipse folder. In my local tomcat server I have achieved it by adding context entry in server.xml.

 

Could you please let me know how can I do the same in Heliohost environment.

 

Regards

Shobhan Bharill

Link to comment
Share on other sites

I'm not sure anyone has done that before. If you're having permission errors it might mean that your directory isn't writable by the tomcat user. The .war runs as a different user from your account so you'll need to grant write permissions on the directory. Default directories are 755, and adding write permissions for group and other would make it 777.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...