i have a languageImpl.java that has a HashMap<String,String> langs where the key is for example "EN" and the value "ENGLISH".
this HashMap is filled with keys and values from a database by this method public void getLangSet().
then, i have a myForm where i do the following:
LanguageImpl l=new LanguageImpl();
l.getLangSet();
request.setAttribute("test",l.getLangs()); where l.getLangs() returns the HashMap<String,String> langs