Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3347794
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T01:27:51+00:00 2026-05-18T01:27:51+00:00

Currently to access my dynamic web project (running in a tomcat servlet container) I

  • 0

Currently to access my dynamic web project (running in a tomcat servlet container) I access the following url:

http://localhost:8080/[Eclipse_Project_Name]

I have a couple questions about this:

  1. Where is the configuration that
    is forcing the url to require the
    Eclipse project name? I don’t see
    this in the web.xml.

  2. Say I’d like
    to change the url used to access my
    project. Maybe I want it to by at
    the root: localhost:8080/, or maybe
    a different directory structure
    altogether. How do I do this?

Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-18T01:27:52+00:00Added an answer on May 18, 2026 at 1:27 am

    Where is the configuration that is forcing the URL to require the Eclipse project name? I don’t see this in the web.xml.

    When you create a New Dynamic Web Project, the first page of the wizard asks you for a Project name and in the third page, you can change the web module settings such as the Context root which defaults to the project name (the context root is the part of the URL you’re talking about).

    This information is not stored in the web.xml, it is stored in the .settings directory of the project (to be precise, in org.eclipse.wst.common.component) and will be added later to /Servers/Tomcat v6.0 Server at localhost-config/server.xml in a <Context> element when you will Add the project to the Tomcat server.

    Say I’d like to change the url used to access my project. Maybe I want it to by at the root: localhost:8080/, or maybe a different directory structure altogether. How do I do this?

    Right-click on your project then Properties > Web Project Settings. There you can change the context root. Then go to the Server View, right-click on the Tomcat server and select Clean… and you should get prompted to accept the modification of the server configuration.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a Tomcat instance running within our corp network. Currently users can access
I currently have the following in one solution: Core Project (data access, biz logic,
I currently have a web site hitting 7 Access DBs that I desperately need
I am currently creating dynamic SSIS packages that import/export and access data between a
In the application I'm working on porting to the web, we currently dynamically access
I am currently using the following code to access the property of an object
Currently Learning Web project in Java. I have a doubt related to it. Actually
I have a Dynamic Web Project in Eclipse and is trying to connect through
Just a quick question. I don't use sitefinity and I don't currently have access
I'm currently trying to access a REST API for the first time using visual

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.