I am trying to use an iframe in the following way:
<iframe src="????" width="350" height="500"></iframe>
where the Tornado server look like this:
class FrameHandler(RequestHandler):
def get(self):
user = self.get_argument("username")
self.set_cookie("user", user)
out = tableizer(user)
self.render('messages.html',table=out)
application = tornado.web.Application(
[
(r"/frame", FrameHandler),
],
debug=True,
template_path=os.path.join(os.path.dirname(__file__), ""),
static_path=os.path.join(os.path.dirname(__file__), "static"),
)
How do I get my iframe to display messages.html?