Sto facendo un file di prova che utilizza file js esterni.
def index(self): html = """ <!DOCTYPE HTML> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="it" lang="it"> <head> <title></title> <script type="text/javascript" src="/jQuery/jquery-1.7.2.min.js"></script> <script type="text/javascript" src="/jQuery/prova.js"></script> </head> <body> <p>Sono le ore: <span id="orario"></span> </p> </body> </html> """ return html index.exposed = True if __name__ == '__main__': conf = {'/jQuery': {'tools.staticdir.on': True}} cherrypy.quickstart(Root(), '/', config=conf) I link indicati sono corretti ma andando sul sorgente pagina e cliccando sui link da 404 not found! Non riesco a trovare il problema. Grazie! -- Daniele San Giovanni
_______________________________________________ Python mailing list Python@lists.python.it http://lists.python.it/mailman/listinfo/python