Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6350087
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T21:44:48+00:00 2026-05-24T21:44:48+00:00

Previously, I have a Google App Engine application ( jstock-static ), which is only

  • 0

Previously, I have a Google App Engine application (jstock-static), which is only used to host some static files so far. Inside folder WEB-INF, here are the content

war/WEB-INF/web.xml

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE web-app PUBLIC
 "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
 "http://java.sun.com/dtd/web-app_2_3.dtd">

<web-app xmlns="http://java.sun.com/xml/ns/javaee" version="2.5">
</web-app>

war/WEB-INF/appengine-web.xml*

<?xml version="1.0" encoding="utf-8"?>
<appengine-web-app xmlns="http://appengine.google.com/ns/1.0">
    <application>jstock-static</application>
    <version>1</version>
</appengine-web-app>

Now, I would like to host some python scripts. Instead of creating another application, I decide to make the scripts re-inside jstock-static application.

I add 2 new files to see whether it works. (They are highlighted in red)

enter image description here

Here is the content of newly added files.

war/app.yaml

application: jstock-static
version: 1
runtime: python
api_version: 1

handlers:
- url: /.*
  script: helloworld.py

I then try to upload it to app engine server using the following command.

C:\Projects\jstock-static\war>c:\appengine-java-sdk-1.3.2\bin\appcfg.cmd
update .

However, when I make a request through web browser using http://jstock-static.appspot.com/helloworld.py, the script is not being executed. Instead, the entire python script was being downloaded.

May I know is there anything I had missed out?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T21:44:49+00:00Added an answer on May 24, 2026 at 9:44 pm

    You can’t execute Python code from an application running on the Java runtime (unless you use Jython). Python applications don’t go inside a war, and need to be deployed using the appcfg.py script in the Python SDK.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I just got Delphi 2009 and have previously read some articles about modifications that
Previously I have asked to strip text from a field and convert it to
When I asked this previously I should have mentioned that it's particularly a light-weight
I previously asked about what Mixins were, and have begun to get the gist
Previously I've asked about inserting a column into a dataset . I now have
I'm trying to make a Lift app that I can run on App Engine
I have an app that services inbound mail and I have deployed a new
I have a user input form here: http://www.7bks.com/create (Google login required) When you first
I am writing a simple database with web access. I have previous experience with
From a previous question I have seen that the CLR has workstation and server

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.