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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...