Google App Engine中的POST方法

时间:2011-09-01 09:16:19

标签: google-app-engine post

我有一个名为index.html的html文件,其中我有一个javascript文件的标题引用(graph.js)。我的html页面上有一个提交按钮。我的表单的方法属性是post。

我的graph.js中有一个名为adj_list的列表。如何在我的python类的post方法中获取adj_list? (我不知道如何通过下面的url.something传递adj_list。)

<form name="graph" action="/sign?.." method="post">

1 个答案:

答案 0 :(得分:0)

appengine文档包括java和python的入门指南。本教程介绍了如何处理请求表单。

http://code.google.com/appengine/docs/python/gettingstarted/

具体为: http://code.google.com/appengine/docs/python/gettingstarted/handlingforms.html