• 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:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

Need help in installation of tomcat5.0.28

 
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I run the tomcat5.0.28.exe on machine ..it installed tomacat ..
I put test directory in webapps folder. whenever i tried to access the http://localhost:8080/test/form.html it gived http status 404 error.

Actually first time when i installed tomcat it used to access the file but it wasn't running servlets so i uninstall it and install it again.

can u tell me whats going wrong?

windows xp is the platform.
 
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

I put test directory in webapps folder.


Did you also create the rest of the directory structure required for Tomcat to recognize that "test" is a web application?
Look at the examples provided in the Tomcat installation - for a directory placed under webapps to be recognized as a web application, it must contain a WEB-INF directory that holds a web.xml file. Otherwise Tomcat will not serve files or servlets from the directory.
Bill
 
Rekha Gaikwad
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
thanks William..It worked. I misspelled the directory name web-inf.

And I would like to thanks u once gain for ur book "Java Cram" for SCJP1.4
I used that book and solve the mock exams,which I find bit difficult in the begining but helped a lot. I scored 91% in SCJP.

Do u have any book published for Web component developer exam or mock exam collection?

Thanks once again,
Rekha
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic