• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Web context path is case-sensitive

 
Ranch Hand
Posts: 320
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The question is how to make Web context path case-insensitive?

We have multiple EAR application deployed in single JVM. Where projectone,projecttwo,projectthree & projectfour are different EAR application
www.xyz.com\projectone\
www.xyz.com\projecttwo\
www.xyz.com\projectthree\
www.xyz.com\projectfour\

Here the application context path "projectfour" is case sensitive, is there anyway I can make it case insensitive?
i.e., projectfour, projectFour, ProjectFour & Projectfour all should take to the same site page.

I am using WAS, would appreciate if anyone throw some light how to handle this?
Thanks.
 
Marshal
Posts: 28193
95
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If I am not mistaken, HTTP (not Websphere) specifies that everything after the domain name is case-sensitive.
 
Rajan Chinna
Ranch Hand
Posts: 320
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I thought there should be something to tweak at WAS level.

I fixed this issue by writing a redirect servlet and configuring it in web.xml.
Thanks.
 
reply
    Bookmark Topic Watch Topic
  • New Topic