• 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:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Junilu Lacar
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Ganesh Patekar
  • Tim Moores
  • Pete Letkeman
  • Stephan van Hulst
Bartenders:
  • Carey Brown
  • Tim Holloway
  • Joe Ess

Starting new project Tomcat  RSS feed

 
Ranch Hand
Posts: 1561
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi. I have tomcat tomcat 4.0.1 running on my box. Now I need to start a new project (which include JSP + Servlets + JavaBeans). I have created a new folder (called project) under
c:\tomcat\webapps\project
Now, How does this folder structure should look like? Or can I just place all my files (jsp+beans+servlets) inside this folder (i don't think so.. )
Do I need to create a new folder inside project called WEB-INF??
thanksssss
 
mister krabs
Ranch Hand
Posts: 13974
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Originally posted by Andres Gonzalez:
Do I need to create a new folder inside project called WEB-INF??

Yes. This is the structure I use:
webapps
--project
----jsp (put your JSPs here or directly under project)
----WEB-INF
------lib (application jar files)
------classes (servlets and java classes)
Put your web.xml file under the WEB-INF directory.
 
Andres Gonzalez
Ranch Hand
Posts: 1561
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks thomas... do you have a particular format for creating the web.xml file? I mean, what is the sintax?, what do I type in?, etc... I'd appreciate if you have any resource so I can read...
thanks again
 
Thomas Paul
mister krabs
Ranch Hand
Posts: 13974
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!