Win a copy of Spring in Action (5th edition) this week in the Spring forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Knute Snortum
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Ganesh Patekar
  • Frits Walraven
  • Tim Moores
  • Ron McLeod
  • Carey Brown
Bartenders:
  • Stephan van Hulst
  • salvin francis
  • Tim Holloway

Default application for specific context path  RSS feed

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Everyone,
I am a Java newbie and I recently joined a team who have performed multiple client implementations of a particular project, all running on WAS 8.5. The applications are present as separate projects under a common Java working set, but under different client specific names. There is one project titled Core which is the single known point of entry. The URL to access the app would be "localhost:9080/core". This URL has a dropdown list of user (profiles) that we can pick from, to login. However, the list of users are specific to client A even though the URL points to Core. Is there anyplace (like applicationContext.xml or any other configuration file) where the default application to open is mentioned, where I can change settings to open list of users specific to client B instead of A?

Please let me know if my question is unclear or if you need any further information.

Thank you very much in advance.

Cheers,
Nash
 
Ranch Foreman
Posts: 1024
24
IBM DB2 Java Netbeans IDE Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Without any login you should try to pre-initialize your "drop down list" using cookies or tracing client request IP.
I'm not aware of a method to automagically do what you're trying to achieve.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!