Results 1 to 4 of 4

Thread: Web-inf????

  1. #1
    Contributing Member
    Join Date
    Sep 2006
    Answers
    962

    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


  2. #2
    Junior Member
    Join Date
    May 2008
    Answers
    1

    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


  3. #3
    Junior Member
    Join Date
    May 2008
    Answers
    2

    Re: Web-inf????

    it will contain lib, src,classes folder and web.xml file to run in server


  4. #4
    Junior Member
    Join Date
    Jan 2008
    Answers
    14

    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!


  5.  Sponsored Ads
    Ad


     

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact