When I try to call the method after importing the class, like below, I get method is undefined error.
<%@page import="td.TourHelper"%>
<%=getTourName()%>
But, when I directly call the method, it works.
<%=td.TourHelper.getTourName()%>
Any clues?
Change
to
The first option will work if your container supports static imports provided you change the page directive as below