I really wan't to avoid such code in jsp files. Please move the retrieve logic (line 49) to the step class and just retrieve the list from a request attribute