Can I loop through the Hashtable object inside the tea template?
You can’t loop through the elements in a hashtable. The ordering would be more or less random, and not very useful. Return to top Help me understand the life cycle of a TeaServlet. A new instance of the context class is created for every request. An instance of the application class is created only on startup and stays there for all the requests. The life cycle of a TeaServlet application includes calls to four methods: the init method, the getContextType method, the createContext method, and the destroy method. Specific information on these methods can be found in the TeaServlet Tutorial.