<script runat="server">
djConfig = {baseUrl:"/dojo/", // use the base path of dojo here
usePlainJson: true, parseOnLoad: true};
</script>
<script runat="server" type="text/javascript" src="../../../dojo/dojo.js"></script>
<script runat="server" type="text/javascript" src="../../../dojo/dojo.js"></script>
<script runat="server" type="text/javascript">dojo.require("dojo.jaxer");</script>
Once this is done, Dojo should load in Jaxer, and you can utilize the library capabilities of Dojo. In particular, you can now use DTL renderer as you would on the browser. If you are running this in Jaxer, below should be a working demonstration of a template that is rendered on the server.
It is important to note that Jaxer is not capable of transferring the programmaticaly set event handlers for widgets, it can only send the static HTML to the browser. This means you can use DTL as a templating engine to create HTML on the server, but Dojo client side widgets are still necessary if you want to use interactive widgets on the browser.