aspose file tools*
The moose likes Struts and the fly likes Displaying features based on jars present in Tomcat application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Displaying features based on jars present in Tomcat application" Watch "Displaying features based on jars present in Tomcat application" New topic
Author

Displaying features based on jars present in Tomcat application

Rajkumar Seenappa
Greenhorn

Joined: Apr 01, 2013
Posts: 1

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?
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 39578
    
  27
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).


Ping & DNS - updated with new look and Ping home screen widget
 
 
subject: Displaying features based on jars present in Tomcat application
 
Similar Threads
Tomcat 5.5.9/Admin error
Any used Swing application framework?
last login information required
How to share value between mutiple war files?
JSF Based login portlet for liferay