Jump to content

Recommended Posts

Posted

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

Posted

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.

Posted

Is it possible to upload files to my public_html folder grammatically from the servlet which is running in my war?

If it is possible, could you please help me the path of my public_html folder which my servlet can identify to upload files.

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...