I am working on migrating another theme from Portal 8.0 to Portal 9.5. We have some custom JSP files we wrote that we are including into our theme. It seems like the preferred way of doing this is to add the dynamic content spot into plugin.xml and then including it in our theme.
Ex:
<a rel="dynamic-content" href="dyn-cs:id:ourTheme9500_moreinfo"></a>
The current way we are doing it is by referencing the JSP file direct as:
<a rel="dynamic-content" href="res:/wps/ourTheme9500/themes/html/ourtheme/moreinfo.jsp"></a>
Am I correct in my thinking ?