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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T11:15:55+00:00 2026-05-18T11:15:55+00:00

I am developing a Java application that is to have two web interfaces: a

  • 0

I am developing a Java application that is to have two web interfaces: a servlet handling some web service logic (/WSProxy) and a web admin interface using the Spring framework (/Admin or *.html). My problem is that the Spring framework dispatcher is hiding the other Servlet; I can view the logs and see that my Admin Servlet is loaded in the server log but every time I try to navigate to it in my browser, it appears as though the Sping Servlet is trying to handle the request! Thanks.

My web.xml file:

<?xml version="1.0" encoding="UTF-8"?>
<web-app version="3.0" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd">
    <context-param>
        <param-name>contextConfigLocation</param-name>
        <param-value>/WEB-INF/applicationContext.xml</param-value>
    </context-param>
    <listener>
        <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
    </listener>
    <servlet>
        <servlet-name>RicochetAdmin</servlet-name>
        <servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
        <load-on-startup>2</load-on-startup>
    </servlet>
    <servlet>
        <servlet-name>RicochetProxy</servlet-name>
        <servlet-class>WSProxy.Servlets.RicochetProxy</servlet-class>
        <init-param>
            <param-name>ricochet.xml.path</param-name>
            <param-value>C:\Users\cdix\Documents\NetBeansProjects\Ricochet\web\WEB-INF\conf\ricochet.xml</param-value>
        </init-param>
        <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet-mapping>
        <servlet-name>RicochetProxy</servlet-name>
        <url-pattern>/RicochetProxy/*</url-pattern>
        <url-pattern>/RicochetProxy</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
        <servlet-name>RicochetAdmin</servlet-name>
        <url-pattern>*.html</url-pattern>
    </servlet-mapping>
    <session-config>
        <session-timeout>
            30
        </session-timeout>
    </session-config>
    <welcome-file-list>
        <welcome-file>redirect.jsp</welcome-file>
    </welcome-file-list>
</web-app>
  • 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-18T11:15:56+00:00Added an answer on May 18, 2026 at 11:15 am

    Assuming Ricochet is your app (war) name, you’d need to change the second mapping from .html to /RicochetAdmin/.html. The way you have it now the Spring dispatcher is being called for every request ending with .html.

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

Sidebar

Related Questions

I'm developing a Java application using Eclipse. My project has two source directories that
I am developing a Java web application that bases it behavior through large XML
We are busy developing a Java web service for a client. There are two
I am developing a java desktop application. I have some doubts or problems in
I am developing a Java desktop application and would like to have an external
I am developing a Java based desktop application. There are some data generated from
Summary: I'm developing a persistent Java web application, and I need to make sure
I am developing a medium size Java Web Application with Struts as MVC framework
I am developing an Twitter4J web application in Google App Engine/Java. I need to
I'm developing a Java 5.0 application that connects to Websphere Application Server default messaging

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.