refact jsp task