Results 1 to 2 of 2
  1. #1
    Saurabh321 is offline Member
    Join Date
    Feb 2008
    Posts
    6
    Rep Power
    0

    Default Modify context root in application.xml

    Hi

    I have a URL

    ttp://hostname/a/b/initial

    where initial is servlet name

    Now, what i know are the following ways to define context root along with servlet mapping in web.xml are :
    Application.xml (context root): a
    Web.xml (URL mapping) : /b/initial

    Application.xml (context root): a/b
    Web.xml (URL mapping) : /initial

    Application.xml (context root): a/b/initial
    Web.xml (URL mapping) : /*

    Are there any other ways to do this.

    We need to have same URL.
    Cannot change that.

  2. #2
    masijade is offline Senior Member
    Join Date
    Jun 2008
    Posts
    2,571
    Rep Power
    9

Similar Threads

  1. Replies: 1
    Last Post: 04-22-2009, 12:20 AM
  2. How to modify HTML title tag
    By Java Tip in forum SWT Tips
    Replies: 0
    Last Post: 07-07-2008, 05:44 PM
  3. Modify A* Algorithm
    By prakharbirla in forum Advanced Java
    Replies: 1
    Last Post: 02-13-2008, 07:25 PM
  4. Context Root change
    By rvasu_77 in forum Advanced Java
    Replies: 2
    Last Post: 07-12-2007, 11:18 AM
  5. Application Context
    By bbq in forum Java Servlet
    Replies: 1
    Last Post: 07-05-2007, 04:11 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •