added one more parameter for attribute trend in main.jsp