Geeks Talk

Prepare for your Next Interview




Web-inf????

This is a discussion on Web-inf???? within the Java forums, part of the Software Development category; I saw some folder name in the servlet called "WEB-INF". Can anyone tell me what is the expantion of this one??? ------------------- suresh...


Go Back   Geeks Talk > Software Development > Java

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 04-30-2008
Contributing Member
 
Join Date: Sep 2006
Location: bangalore, india
Posts: 1,007
Thanks: 0
Thanked 73 Times in 62 Posts
psuresh1982 will become famous soon enough
Web-inf????

I saw some folder name in the servlet called "WEB-INF". Can anyone tell me what is the expantion of this one???

-------------------
suresh
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 05-16-2008
Junior Member
 
Join Date: May 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
shanthi1234 is on a distinguished road
Re: Web-inf????

Quote:
Originally Posted by psuresh1982 View Post
I saw some folder name in the servlet called "WEB-INF". Can anyone tell me what is the expantion of this one???

-------------------
suresh
I think WEB-INF is Web Information.It consis of our Application Information.Sorry If i am wrong
Reply With Quote
  #3 (permalink)  
Old 05-28-2008
Junior Member
 
Join Date: May 2008
Location: chennai
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
ganeshcse is on a distinguished road
Re: Web-inf????

it will contain lib, src,classes folder and web.xml file to run in server
Reply With Quote
  #4 (permalink)  
Old 06-20-2008
Junior Member
 
Join Date: Jan 2008
Location: India
Posts: 19
Thanks: 0
Thanked 3 Times in 1 Post
kumarprabu is on a distinguished road
Re: Web-inf????

If you're looking at a web application on your Tomcat server you'll see all the files that you would expect - things like an index.html (or perhaps an index.jsp), images, and perhaps style sheets, a robots.txt and a favicon.ico. You'll also see a WEB-INF directory, and perhaps a META-INF directory that are unbrowsable. What are they?

The META-INF directories related to .jar files ... they contain the manifest (list of contents) of a jar and are created when you write a jar file. Then when you unpack it, the directory appears. Web applications, held in .war files, are just special cases of .jars. You should (in theory) be able to safely delete your META-INF directory and content from an installed web application.

The WEB-INF directory contains a heirarcy in which you'll find the necessary configuration information for your web application, and all the class files for your servlets and classes that are called up by your JSPs (Java Server Pages). The WEB-INF directory is a vital component of your web application, which will not run without it!
Reply With Quote
Reply

  Geeks Talk > Software Development > Java


Thread Tools
Display Modes



All times are GMT -4. The time now is 08:35 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Copyright © 2008 GeekInterview.com. All Rights Reserved