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

  • Home
  • SEARCH
  • 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 9150687
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T11:38:40+00:00 2026-06-17T11:38:40+00:00

I am developing a Spring/Spring MVC application where everything is working properly but I

  • 0

I am developing a Spring/Spring MVC application where everything is working properly but I have some doubts about the application startup.

Right now, when Tomcat starts and the application starts I am receiving a render request on the “home” controller even I don’t access the site. It’s like it is done automatically. Is this correct? Can this be disabled and is there any reason why this is done by default?

Thanks in advance.

  • 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-17T11:38:41+00:00Added an answer on June 17, 2026 at 11:38 am

    I found out that when the defined DispatcherServlet is mapped to * like this:

    <servlet-mapping>
        <servlet-name>WebDispatcher</servlet-name>
        <url-pattern>*</url-pattern>
    </servlet-mapping>
    

    You always get a request to your “home” controller that is mapped to /

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

Sidebar

Related Questions

I am developing my application using spring-web-mvc... Now at my Controller it returns like
I'm trying to write some tests for an MVC application we're developing. We have
I am developing an application using Spring MVC, and Extjs and I have a
I am right now developing a dead simple application using backbonejs mvc javascript library.Just
I am developing a spring mvc based application. I have a simple pojo form
We are seeing Spring in school right now but we don't have the time
We are developing a spring application with Spring MVC and hibernate. Now we ran
I'm developing Spring MVC application. In my application I have two profiles, test and
Background I am developing an application (with Spring MVC ) with its base path
I am developing a small Spring application. I have to store the details of

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.