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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T23:45:54+00:00 2026-06-15T23:45:54+00:00

I have developed an application which contains servlet and few java classes and additionally

  • 0

I have developed an application which contains servlet and few java classes and additionally an html page named home.html which is the opening page..

My web.xml is in this format..

<servlet>
    <servlet-name>hello</servlet-name>
    <servlet-class>com.saral.MyServlet</servlet-class>
  </servlet>   
     <servlet-mapping>
    <servlet-name>hello</servlet-name>
     <url-pattern>/helloServlet</url-pattern>
  </servlet-mapping> 

   <welcome-file-list>
    <welcome-file>FirstDemo/WebContent/home.html</welcome-file>
  </welcome-file-list>

  <listener>
  <listener-class>com.saral.SessionCounter</listener-class>
</listener>

Now my query is that after deployment on tomcat the main page get opened is ..
http://imageshack.us/photo/my-images/835/ie1.png/

but I want this page to be get loaded as first one
http://imageshack.us/photo/my-images/651/ie3f.jpg/

Please advise me what changes need to be done , so that my opening page becomes correct

  • 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-06-15T23:45:55+00:00Added an answer on June 15, 2026 at 11:45 pm

    If your home.html to appear as your home page then just make changes to welcome-file-list tag in your web.xml

    <welcome-file-list>
        <welcome-file>home.html</welcome-file>
    </welcome-file-list>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have developed a java application which run's perfectly in local server. But When
I have developed WPF application which contains the menuitem. I set background color to
I have an already developed web application based on struts 1.2 which contains jsp
I have developed a web application which contains 50 pages & now i want
I have developed an application which contains 3 screens, One of them is LoginScreen
I have an application developed on JBoss which contains a Datasource definition at application
I have developed part of an application which contains a number of spinners to
Currently we have application in Silverlight which contains a dashboard. The dashboard was developed
I have developed one application in iPhone which contains videos. Now I want to
I have developed a application in which user select the particular folder and it

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.