• 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

Displaying features based on jars present in Tomcat application

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

How display features based on the JARs exist in Web application?

For example, In a web application if 'login.jar' exists, login screen has to be displayed. Else no login screen should be displayed. How can i achieve this solution in struts 1.3.10?

Can you please provide example?
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This would be an odd way to architect a web app. Can you tell us in more detail what you're trying to accomplish (and why)?

In the meantime, you might want to check out OSGi, which has facilities to ads and remove features from applications based on the presence or absence of so-called bundles (jar files, essentially, with some special configuration).
 
reply
    Bookmark Topic Watch Topic
  • New Topic