I have an integer variable iterationNumDec which is in session and I can get its value. However, in the following way, I can only get a string. For instance, a string whose content is '10'. Thus the <c: if > part will not work. could any one show me how to get around this problem. I really need to compare the two values, i.e., status.count and iterationNumDec in this case. Thanks.