RE: Struts 2.5 upgrade clarification

2018-12-27 Thread David Dillard
Independent of Struts requirements, you should upgrade as Java 6 is no longer receiving updates (not even under a support contract). https://www.oracle.com/technetwork/java/java-se-support-roadmap.html https://www.oracle.com/support/lifetime-support/ -Original Message- From: Gopal, Siv

Struts 2.5 upgrade clarification

2018-12-27 Thread Gopal, Siva Prakash (US - Mechanicsburg Delivery)
Hi Team, We are upgrading our struts version from 2.3 to 2.5. currently we are using Java version 1.6. Do we need upgrade java version as part of struts upgrade Thanks, Siva This message (including any attachments) contains confidential information intended for a specific individual and purpos

Re: How to display both selected key and value of s:select

2018-12-27 Thread albert kao
Hi Yasser, Thanks for your useful suggestion! It works with: public class RegisterAction { ... public Country getSelectedCountryObject(String selectedCountry) { for (Country c : countryList) { if (String.valueOf(c.getCountryId()).equals(selectedCountry)) return c;