Win a copy of TensorFlow 2.0 in Action this week in the Artificial Intelligence and Machine Learning forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Paul Clapham
  • Bear Bibeault
  • Jeanne Boyarsky
Sheriffs:
  • Ron McLeod
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Jj Roberts
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • salvin francis
  • Scott Selikoff
  • fred rosenberger

Questions on tomcat5

 
Ranch Hand
Posts: 80
  • Mark post as helpful
  • send pies
  • 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
  • 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
  • Quote
  • Report post to moderator
Thanks Bill for the info.
Panday
 
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
  • 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 ]
 
Can't .... do .... plaid .... So I did this tiny ad instead:
the value of filler advertising in 2020
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic