How to convert integer variable to string representation
Joined: Nov 26, 2004
i have the servlet that gets the site number in integer form.what i would like to do is this integer variable must be converted to a string giving the exact name of site. once this is done it should be used by the setter and getter methods of a java bean which in turn supplies the jsp with the string name of the site to be displayed.
at the moment i can not display the string name of the site cause the conversion fron an int to a string is refusing and therefore i cannot use the integer representation cause the java beans's setter and getter methods only make use of strings.