Absolutely. I am very exited by seeing web2py on jython. That would be
a very big step.
# in Django from your link
import os
from django.core.handlers import wsgi
os.putenv("DJANGO_SETTINGS_MODULE", "mysite.settings")
def handler(environ, start_response):
h = wsgi.WSGIHandler()
return h(environ, start_response)
# in web2py there are no setting
from gluon.main import wsgibase
return wsgibase(environ, start_response)
# make sure the web2py folder is in your python path
let me us know how things progress!
Massimo
On Nov 11, 11:37 am, Andrew <[EMAIL PROTECTED]> wrote:
> I'm trying to get Web2Py working in glassfish via the new Jython 2.5
> beta (www.jython.org) and was following the same approach that Frank
> outlines
> here:http://fwierzbicki.blogspot.com/2008/04/jython-and-django-progress-pa...
>
> I'm stuck at the point where you setup the application.py and was
> wondering if A) this approach could even work with web2py the way it
> does with django and B) if anyone could assist me with how the
> application.py would look?
>
> Any help is greatly appreciated :)
>
> TIA,
> Andrew
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"web2py Web Framework" 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/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---