Hi,
I want to disable the cache for a JSP file on my google app engine website.
I have this:
<%
// Set to expire far in the past.
response.setHeader("Expires", "Sat, 6 May 1995 12:00:00 GMT");
// Set standard HTTP/1.1 no-cache headers.
response.setHeader("Cache-Control", "no-store, no-cache, must-reval...
Hi,
I have been trying to figure this out a while. I would like to make my app engine website use basic html and shtml whenever in order to avoid the slow warm-up phase of jsp apps on app engine. This is so that my landing pages load instantly.
Basically, I am trying to include an html file into my main html file (index.html - I tried ...
my gmail is [email protected]
i can only use [email protected] in the sender=".." ,yes ??
from google.appengine.api import mail
message = mail.EmailMessage(sender="[email protected]",
subject="Your account has been approved")
message.to = "[email protected]"
message.body = """
Dear Albert...
import logging, email
from google.appengine.ext import webapp
from google.appengine.ext.webapp.mail_handlers import InboundMailHandler
from google.appengine.ext.webapp.util import run_wsgi_app
class LogSenderHandler(InboundMailHandler):
def receive(self, message):
_subject = message.subject
_sender=message.sender
...
I am building an iPhone Wikipeida game app, that requires modifying the default Wiki HTML a little bit (mostly simplifying the page).
So far I am directly downloading the HTML output from en.wikipedia.org/wiki/Article_Foo to a python Google App Engine, and then modify its CSS and HTML structure, cache it, and finally output to iPhone. I...
I have some code like this :
PersistenceManager pm=PMF.get().getPersistenceManager();
String query="select from "+PayPal_Message.class.getName()+" where processed == false order by time desc";
List<PayPal_Message> messages=(List<PayPal_Message>)pm.newQuery(query).execute();
if (messages.isEmpty())
...
Would you guys show me a way to simulating concurrent access to memcache on Google App Engine? I'm trying with LocalServiceTestHelpers and threads but don't have any luck. Every time I try to access Memcache within a thread, then I get this error:
ApiProxy$CallNotFoundException: The API package 'memcache' or call 'Increment()' was not f...
google-app-engine-django/ claims to have an "App Engine compatible implementation of the Django authentication framework". Does this authentication work only with Google Accounts? Is it possible to register a user with a username/password and authenticate him/her with that username/password without that user having a Google account?
I...
Hey, I'm trying to work out with /remote_api with a django-patch app engine app i got running.
i want to select a few rows from my online production app locally.
i cant seem to manage to do so, everything authenticates fine, it doesnt breaks on imports, but when i try to fetch something it just doesnt print anything.
Placed the test py...
I'm using Google App Engine to process Paypal IPN messages, when my servlet starts I use the following lines to start another process to process massages :
public class PayPal_Monitor_Servlet extends HttpServlet
{
PayPal_Message_To_License_File_Worker PayPal_message_to_license_file_worker;
public void init(ServletConfig config) thr...
I have no idea about this.
...
like this:
handlers:
- url: /media
static_dir: media
- url: /form;/items.html
script: validate.py
/form;/items.html
i want /form and /item.html use validate.py
thanks
...
My Django site has many templatetags directories, can I use Django templatetags on Google App Engine?
...
I have created a simple GAE app based on the default template. I want to add an external module like short_url. How do I do this? The directions that I have found so far are confusing and GAE doesn't seem to use PYTHONPATH for obvious reasons I guess.
...
Hi,
When we turn sessions on in google app engine like:
// appengine-web.xml
<sessions-enabled>true</sessions-enabled>
does app engine automatically clean up expired sessions, or do we have to do it ourselves? After turning them on, I see in the datastore that some entries are being generated like _ah_session, I'm wondering if those ...
I know how to table in google BigTable.I have one doubt regarding this.what are all the datatype supported by google BigTable.
Thanks in advance
...
Super nub question time! I am trying to use simplejson on the google appengine. In a terminal on my machine I have simplejson installed and working. But my when I try to import it in a script running on the appengine I get an error saying no such library exists. If open the interactive console on my machine (from the link on http://local...
I managged to upload files on app-engine by using the following example
http://stackoverflow.com/questions/1513603/how-to-upload-and-store-an-image-with-google-app-engine-java
and
http://www.mail-archive.com/[email protected]/msg08090.html
The problem is, I am sumitting other fields along with file field as list...
I have a field device which keeps on sending data over to any designated port using sockets. I am planning to use GAE for server-side infrastructure.
I read GAE does not support sockets. But i can configure the device to send the data over port 80. so we wrote a genericservlet to capture this data on GAE. But it is not obtaining any va...
I am using Eclispe with Google plugin for AppEngine and GWT. Recently I created a test GWT module, but eventually it has been deleted from the project and I can not find any sign of it in the project now.
However, whenever I run the web app locally, I get in console the following message:
Loading modules
com.piq.exemity.Test
[...