- url: /script/jquery\.js script: jquery.js should be
- url: /script/jquery\.js static_dir: jquery.js the "script:" indicates what python or java script to invoke to handle the request. You simply want to hand the script to the browser that's requesting it. On Nov 12, 3:14 am, Felix <felix1...@gmail.com> wrote: > Hi, > handlers: > - url: /images > static_dir: images > > - url: /script/jquery\.js > script: jquery.js > > - url: / > script: main.py > > This is my app.yaml. I am trying to include the jquery.js file but I > am getting "exceptions.Syntaxerror". I am just including the file.Can > someone please guide me. > I have pasted my code and the error code for reference. > > Code where the error happens > self.response.out.write('<html><head><script type='text/javascript' > src='script/jquery.js'></script></head><body><img src="images/ > ideaOneLiner.png"/></body></html>') > > Error that I found in the log > <type 'exceptions.SyntaxError'>: invalid syntax (jquery.js, line 1) > > Thanks!!! -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=.