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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T17:06:43+00:00 2026-05-14T17:06:43+00:00

I am using JBoss 4.0.5.GA to run a set of java applications. One of

  • 0

I am using JBoss 4.0.5.GA to run a set of java applications. One of them is a web frontend, using Spring 1.4. URL mappings are configured in a way that ‘fake’ pages from request URLs are mapped to controllers. That means that when someone requests /index.htm, there’s no actual ‘index.htm’ on disk, and that request maps to a specific conroller which then renders a jsp view.

So the problem is as follows: I need to tell JBoss to somehow forward all requests for directory indices to corresponding ‘index.htm’ URLs like so: / → /index.htm; /news/ → /news/index.htm; /foo/bar/baz/ → /foo/bar/baz/index.htm and so on.

I can’t use Tomcat’s welcome-file-list feature because it looks for those files on disk, while all ‘index.htm’s are fake and don’t actually exist on disk.

  • 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-14T17:06:43+00:00Added an answer on May 14, 2026 at 5:06 pm

    Why can’t you add a controller that handles requests for / URLs, that forwards on to the index.htm controllers?

    If that’s not an option, consider using The URLRewriteFilter library to perform forwarding or redirecting. This should be able to sit outside of your own code.

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

Sidebar

Related Questions

I try to run jsf application in myeclipse using jboss web server and following
I am using Jboss 4.0.2 in Solaris to run a webapp. JBoss is configured
We're about to deploy a Java web application built using JBoss Seam as the
I have a Java web application running on JBoss using JAAS for authentication. I
I'm using log4j in an app I'm developing to eventually run inside Tomcat/JBoss, but
I am using jboss as the server and my java program as the client,
I generated a web-service client using JBoss utils (JAX-WS compatible) using Eclipse 'web service
Given a web application built using Jboss seam with following details: dynamic web module:
I'm trying to make Jboss Application Server 7.1.0 run as a service using the
I'm currently using jboss/maven/eclipse to debug a web app. I've enabled remote debugging in

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.