aspose file tools*
The moose likes Tomcat and the fly likes uploads on Tomcat hosting Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "uploads on Tomcat hosting" Watch "uploads on Tomcat hosting" New topic
Author

uploads on Tomcat hosting

emilio rossi
Ranch Hand

Joined: Jul 01, 2011
Posts: 47

hello everyone,
im quite a newbye on tomcat but since i use servlets on my site i ask an evaluation account on a tomcat hosting,
i post here this question even if i sent the same to the hosting support cause since the evaluation is very time limited i fear they do not answer on time
anyway:
when i log on on the http://ecc ecc.. they gave me as a tryal i see the ususal tomcat homepage where i can access as an admin,
i wonder how can i access the webapps or the root directory to upload my site files
anybody knows?
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18987
    
    8

One of the things you should evaluate about that site is their level of customer support. In other words, if you have a question or a problem, will the hosting company answer as quickly as you need?

This is an ideal time for you to evaluate that. Ask them the question. If they don't respond quickly then ask yourself if their customer service is adequate.
emilio rossi
Ranch Hand

Joined: Jul 01, 2011
Posts: 47

yes, this is a good point to evaluate,
but i wish to have answer here in case ill never get reply from any hosting support and will be forced to do all by "myself"
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16303
    
  21

If you have access (and rights) to the Tomcat manager web application, you don't need file access to the Tomcat server. The Tomcat Manager webapp is capable of uploading and deploying webapps without the need for a separate file server or FTP server.

I don't know about deploying a webapp to the Tomcat root that way, however, since I don't usually deploy just one app to Tomcat, and therefore don't use the root context for my applications. The Tomcat root app is deployed a little differently than other webapps.


Customer surveys are for companies who didn't pay proper attention to begin with.
emilio rossi
Ranch Hand

Joined: Jul 01, 2011
Posts: 47

i think i need access to webapps directory since i have to upload via FTP not only apps but html files, png and other stuff, dont know if theres a way to do it from the tomcat manager
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16303
    
  21

The only 2 things that you can put in TOMCAT_HOME/webapps ARE webapps - which are WARs - and deployment descriptors.

You cannot copy loose files and random directories to TOMCAT_HOME/webapps and expect them to work. Any HTML, images, javascript or whatever must be in a WAR file and the WAR file can be installed using the Tomcat Manager webapp.
emilio rossi
Ranch Hand

Joined: Jul 01, 2011
Posts: 47

i have loose html , jps, and png files in my webapp dir and they works fine in my localhost , thats why i minded to do the same on the server
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: uploads on Tomcat hosting