hi,
im using a ResourceBundle to display my pages in the users language. this works fine when i call the objects on the jsp pages but when i try to pass the current locale to one of my methods i get the following errors. im passing the locale to the method but when i do so, i get vector related errors.
im at a loss as to why this is happening.
when i use this code
i get this error
when i use this code
is get this error.
thanks for your help
im using a ResourceBundle to display my pages in the users language. this works fine when i call the objects on the jsp pages but when i try to pass the current locale to one of my methods i get the following errors. im passing the locale to the method but when i do so, i get vector related errors.
im at a loss as to why this is happening.
when i use this code
Code:
Locale clientLocale = (Locale) session.getAttribute("locale");
i get this error
Code:
java.lang.ArrayIndexOutOfBoundsException: 1 >= 1
java.util.Vector.elementAt(Vector.java:432)
org.apache.jsp.Pages.LeftFrame_jsp._jspService(LeftFrame_jsp.java:117)
when i use this code
Code:
Locale clientLocale = request.getLocale();
is get this error.
Code:
java.lang.NoSuchMethodError: Language.getWebLinks(Ljava/lang/String;)Ljava/util/Vector;
thanks for your help