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 6060939
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T08:52:54+00:00 2026-05-23T08:52:54+00:00

I know there has to be a simple answer to this, but Google’s not

  • 0

I know there has to be a simple answer to this, but Google’s not helping at the moment. I’ve got a dynamic web project in Eclipse which is using Java/Jersey to run a web service. All my java resources are called in a URI like projectname/test/statistics, etc. for different resources. My hangup is on a relatively simple point:
How do I include an HTML file in this project?
I’m planning to have this file as a sort of ‘home page’, in order to handle logins, etc. I’d like the URI to be something like projectname/ or projectname/login, but I can’t seem to find where I can define the path to reference the HTML file. Is there something I need to add to the HTML itself, or is it a setting in the Eclipse project?

Update:
Soo… I still can’t run my html file through eclipse. What I have to do right now is deploy a war to Tomcat without the html, then put the html file in a completely separate folder to run it. This means that I have to type a different context root whenever I call my file.

  • 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-23T08:52:54+00:00Added an answer on May 23, 2026 at 8:52 am

    My workaround:
    Since I haven’t been able to get this working directly in Eclipse, I’ve been placing my html page manually in the directory where my service is deployed to Tomcat. Placing it in the ROOT folder lets me hit the page at localhost:8080/login.html, and I can deploy it to other folders, say Test, to hit it at localhost:8080/Test/login.html, but due to my security settings (at the moment), I cannot place it in the same folder as the rest of my deployed project.

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

Sidebar

Related Questions

I know this has been discussed a lot of times but is there any
I'm sure this has a very simple answer I am not finding... I have
I'm sure this has already been done, but Google isn't helping me - I'm
I am sure there is a simple answer to this, but I am drawing
I searched google but couldn't find an answer to this rather simple question. I
Ok, this probably has a really simple answer, but I've never tried to do
I know this question has kind-a started religious wars in past and there might
Hopefully this question has a simple answer i'm overlooking! I have an IIS webserver
I know this has been asked a few times but please bear with me.
Sorry for the unlearned nature of this question. If there's a simple answer, just

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.