Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 3 of 3

Thread: Eclipse web.xml servlet mapping???

  1. #1
    Junior Member
    Join Date
    Oct 2010
    Posts
    14
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Eclipse web.xml servlet mapping???

    Hi, I am working with eclipse and i made a HelloWorld servlet and it run properly.
    I know that when you make a servlet you must configure a web.xml file to map the servlet to a url but
    i was searching to find the web.xml in eclipse that maps the servlet url but nothing. Where is it?


  2. #2
    Administrator copeg's Avatar
    Join Date
    Oct 2009
    Location
    US
    Posts
    5,343
    Thanks
    182
    Thanked 831 Times in 774 Posts
    Blog Entries
    5

    Default Re: Eclipse web.xml servlet mapping???

    Should be in the WEB-INF folder:
    WebContents -> WEB-INF -> web.xml

  3. #3
    Junior Member
    Join Date
    Oct 2010
    Posts
    14
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Eclipse web.xml servlet mapping???

    it is not there. i have searched all the workspace. thers is no web.xml for mapping the servlets. Nevertheless the servlets works fine. Any answer??

Similar Threads

  1. Replies: 24
    Last Post: August 4th, 2014, 12:49 PM
  2. What are the requirements to develop Servlet Application?
    By yousef atya in forum Java Servlet
    Replies: 2
    Last Post: July 28th, 2011, 06:20 PM
  3. data mapping betweeb different collapsible panel
    By varuntcs in forum JavaServer Pages: JSP & JSTL
    Replies: 0
    Last Post: May 23rd, 2010, 02:33 PM
  4. servlet and socket plz HELP
    By Mokhtar in forum What's Wrong With My Code?
    Replies: 0
    Last Post: January 8th, 2010, 08:21 AM
  5. ha-jndi client is servlet
    By supriya ramjee in forum Web Frameworks
    Replies: 0
    Last Post: July 31st, 2009, 02:02 AM