• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

uploads on Tomcat hosting

 
Ranch Hand
Posts: 47
Eclipse IDE Tomcat Server Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
Marshal
Posts: 28193
95
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 Tomcat Server Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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"
 
Saloon Keeper
Posts: 27764
196
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 Tomcat Server Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Posts: 27764
196
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 Tomcat Server Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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:)
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic