We help IT Professionals succeed at work.
Get Started

redirecting to index.jsp file

CharanR asked
Last Modified: 2012-05-09

for the website I'm migrating, all the folders have their welcome page as index.jsp and that page is in the weblogic.
If I click on any link it's going until the folder but not picking up the index.jsp. Suppose that I have the below folders, how can I have a generic rule using Rewrite module for redirecting them to default index.jsp

/ar  --> should redirect to /ar/index.jsp
/ar/sample/product-id-sample --> should redirect to /ar/sample/product-id-sample/index.jsp
/ar/sample/articles-tips --> should redirect to /ar/sample/articles-tips/index.jsp
/ar/start/getting-started-faqs --> should redirect to ar/start/getting-started-faqs/index.jsp
/ar/ongoingsupport/all-faqs --> should redirect to /ar/ongoingsupport/all-faqs/index.jsp
/ar/start/insurance-basics --> should redirect to ar/start/insurance-basics/index.jsp
/as --> should redirect to /as/index.jsp
/as/start/starting-treatment --> should redirect to /as/start/starting-treatment/index.jsp
Watch Question
Top Expert 2004
This problem has been solved!
Unlock 3 Answers and 3 Comments.
See Answers
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE