le 02.09.2008 14:22 luca72 a écrit: > hello i solve the problem but i find i nuw one: > if i open the kid file with firefox the applet start, but if i run the > proget with tg i get this: > > Content-Type: > - - "GET /flame3.class HTTP/1.1" 404 1232 "" "Mozilla/4.0 (Linux > 2.6.22.18-0.2-default) Java/1.5.0_16" > 2008-09-02 13:33:45,205 cherrypy.msg INFO HTTP: Page handler: "The > path '/flame3/class.class' was not found." > Traceback (most recent call last): > File "/usr/lib/python2.5/site-packages/cherrypy2/_cphttptools.py", > line 121, in _run > self.main() > File "/usr/lib/python2.5/site-packages/cherrypy2/_cphttptools.py", > line 256, in main > page_handler, object_path, virtual_path = > self.mapPathToObject(path) > File "/usr/lib/python2.5/site-packages/cherrypy2/_cphttptools.py", > line 326, in mapPathToObject > raise cherrypy.NotFound(objectpath) > NotFound: 404 > > Why? > > Because TG is looking for a flame3 method, not for a flame3 directory... Try to put your java files under ..../static/java (create the java directory, same level as images, css and javascript existing directories) and update your kid templates accordingly.
> Regards > > Luca > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/turbogears?hl=en -~----------~----~----~----~------~----~------~--~---

