Here is my whole code. implement ParameterAware. 

Declaration of MAP.

Map<String, String[]> parameters = null;

Call this method.

getParameters("alId")





        public void setParameters(Map<String, String[]> params) {
                // TODO Auto-generated method stub
                this.parameters = params;
        }

        public String getParameters(String param) {
                StringBuffer sbVal = new StringBuffer();
                paramVal = (String[]) parameters.get(param);
                for (int i = 0; i < paramVal.length; i++) {
                        sbVal.append(paramVal[i]);
                }
                return sbVal.toString();
        }



--
View this message in context: 
http://struts.1045723.n5.nabble.com/Separate-Java-Bean-Class-for-Getter-Setter-method-tp4385274p4442897.html
Sent from the Struts - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to