Hi there, I have a simple question (for any pro). I want a method to be accessible to all pages (or at least any page I declare), but I only know how to make it accessible on one page. For example, the following method:
This method is in my controller class and can be accessed from localhost:8080/categories/listcategories.htm. So on this page I can use:
to show the whole list. But I would also like to access this list from another page, for example from localhost:8080/list.htm
Now I have another method in another Controller class for that page.
I would really appreciate it if someone could help me pass this milestone