• 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
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

Questions on tomcat5

 
Ranch Hand
Posts: 80
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,
1)Have some questions on the path to use. I'm using tomcat 5.
I have started tomcat successfully. I used the url http://localhost/index.jsp. Able to view the page successfully. The page states that the path is in ROOT/index.jsp. I decided to delete the index.jsp in this path. But still I was able to access this page. Why is this? I looked into the server.xml and web.xml files but I still couldn't figure it out. Can anyone explain to me in detail on how to create a folder and be able to access it in the browser and also what files to modify. Are there any differences among jsps,htmls,servlets. I've been searching but I only get bits of information. And also what's the purpose of the WEB-INF folder? Each folder under webapps has this directory.
2) Is there a restart command in tomcat5? Tired of clicking shutdown and startup commands.
Thanks in advance.
Panday
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
1. There is no "royal road" to servlets. Read the Sun tutorial and the docs that come with Tomcat, download the Servlet API for reference (you might even learn why web.xml is essential.) You could even buy a book.
2. In your tomcat installation there is a discussion of Manager functions which will let you stop and restart individual web applications.
Bill
 
Panday Manako
Ranch Hand
Posts: 80
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Bill for the info.
Panday
 
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You might want to work in your own context, means to store your application in your own folder and access it. If so visit my home page and you'll find a detailed description regarding your question.
My Home Page... http://sit.iitkgp.ernet.in/~nnanda
Sorry for inconvenience as the page is under construction. It'll be available in next 2 days.
[ March 08, 2004: Message edited by: N Nanda ]
 
Evacuate the building! Here, take this tiny ad with you:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic