Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

uploads on Tomcat hosting

 
emilio rossi
Ranch Hand
Posts: 47
Eclipse IDE Java Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Sheriff
Posts: 21107
32
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 47
Eclipse IDE Java Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 18152
52
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
emilio rossi
Ranch Hand
Posts: 47
Eclipse IDE Java Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 18152
52
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 47
Eclipse IDE Java Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic