On Thu, 2002-01-17 at 18:22, Richard Gordon wrote:
> At 2:33 PM -0500 1/17/02, Geoffrey Talvola wrote:
> >The usual suggestion when you want a "singleton" object that is shared
> >across all servlet instances is to just store it in a global variable at
> >module level. You can either put this var
At 2:33 PM -0500 1/17/02, Geoffrey Talvola wrote:
>The usual suggestion when you want a "singleton" object that is shared
>across all servlet instances is to just store it in a global variable at
>module level. You can either put this variable directly into the module
>that contains your servlet,
On Thursday 17 January 2002 14:16, Ben Parker wrote:
> self.request()._environ['HTTP_HOST']
That should be: self.request.environ()['HTTP_HOST']
Underscored attributes are internal implementation details that are
not guarenteed to remain as they are.
> assuming self is a subclass of WebKit.Page
Thanks you for the replies! I will try it at the module level and see what
happens!
thanks,
Brian
--On Thursday, January 17, 2002 02:15:53 PM -0800 Tavis Rudd
<[EMAIL PROTECTED]> wrote:
> On Thursday 17 January 2002 12:48, Mike Orr wrote:
>> On Thu, Jan 17, 2002 at 02:33:52PM -0500, Geoffrey
On Thu, 2002-01-17 at 16:16, Ben Parker wrote:
> self.request()._environ['HTTP_HOST']
>
> assuming self is a subclass of WebKit.Page
More properly, you should use self.request().environ()['HTTP_HOST']
Ian
___
Webware-discuss mailing list
[EMAIL P
self.request()._environ['HTTP_HOST']
assuming self is a subclass of WebKit.Page
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Rolf
Hanson
Sent: Thursday, January 17, 2002 5:08 PM
To: [EMAIL PROTECTED]
Subject: [Webware-discuss] Easiest way to grab HTTP
In my SitePage class, what is the easiest way to grab the HTTP_HOST field
from my http request?
Rolf
___
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss
I've fought with this for a while, on PWS and IIS, and decided
to give up on MS web servers and Webware. It works fine with Apache on
Windows, so I can use it with that.
On Thu, Jan 17, 2002 at 02:41:32PM -0500, Geoffrey Talvola wrote:
> Look in OneShot.cgi and in OneShotAdapter.py. In both file
> -Original Message-
> From: Luke Opperman [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, January 17, 2002 4:05 PM
> To: Webware Discuss
> Subject: [Webware-discuss] Determine Context
>
>
> How can a Servlet determine the name of the context it is
> in at runtime?
self.request().contextNa
How can a Servlet determine the name of the context it is
in at runtime?
Thanks,
Luke
=
--
Reference Counting Garbage Collection:
Look out philosophy majors, things really DO
cease to exist when no one is looking at them!
--
_
On Thursday 17 January 2002 12:48, Mike Orr wrote:
> On Thu, Jan 17, 2002 at 02:33:52PM -0500, Geoffrey Talvola wrote:
> > The usual suggestion when you want a "singleton" object that is
> > shared across all servlet instances is to just store it in a
> > global variable at module level. You can
On Thu, Jan 17, 2002 at 02:33:52PM -0500, Geoffrey Talvola wrote:
> The usual suggestion when you want a "singleton" object that is shared
> across all servlet instances is to just store it in a global variable at
> module level. You can either put this variable directly into the module
> that co
Look in OneShot.cgi and in OneShotAdapter.py. In both files there are
exception handlers that attempt to log to sys.stderr. Perhaps you can
temporarily modify those places so that they instead log to a file that
you've opened, and see if the whole traceback shows up in the file.
Just search for
> -Original Message-
> From: Brian Brown [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, January 17, 2002 1:26 PM
> To: [EMAIL PROTECTED]
> Subject: [Webware-discuss] Architecture question
>
>
> Greetings all,
>
> It's been a long route to get here -> Perl CGI -> ASP -> Zope
> -> WebWar
> -Original Message-
> From: Jason Hildebrand [mailto:[EMAIL PROTECTED]]
>
> On Thu, 2002-01-17 at 12:54, Roger wrote:
> > While debugging a silly mistake, I discovered a convenient
> way to reload
> > my SitePage to incorporate coding changes during my testing.
>
> I also find OneShot.
Hello Rolf
On Thu, 17 Jan 2002, Rolf Hanson wrote:
> Take a look at http://www.openprojects.net/irc_servers.html for a list of
> servers by geographic location.
I just noted that it's .shtml, not .html .
Stefan
___
Webware-discuss mailing list
[EMAI
On Thu, 2002-01-17 at 12:54, Roger wrote:
> While debugging a silly mistake, I discovered a convenient way to reload
> my SitePage to incorporate coding changes during my testing.
I also find OneShot.cgi to be too slow for testing, perhaps because I have a
relatively slow machine. In any case, I
While debugging a silly mistake, I discovered a convenient way to reload
my SitePage to incorporate coding changes during my testing.
1. SitePage must be located in your Context directory, possibly a bad
practice.
2. Optional, In a convenient page, add something similar to:
Reload Sit
Greetings all,
It's been a long route to get here -> Perl CGI -> ASP -> Zope -> WebWare
(over the course of many years :), and so far, IMHO, Webware is a dream
come true, just like Python :)
Now on to my question: I am querying Jabber entities for information an
presenting that on my web site
Unfortunately I can't. this is all I get (in the web browser, if anyone
knows any log file that will have it let me know).
On Thu, Jan 17, 2002 at 10:52:38AM -0500, Geoffrey Talvola wrote:
> It looks like the traceback got chopped off, so it's hard to tell what's
> going wrong. Could you includ
It looks like the traceback got chopped off, so it's hard to tell what's
going wrong. Could you include the whole traceback?
- Geoff
> -Original Message-
> From: John Holland [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, January 16, 2002 3:55 PM
> To: webware discuss
> Subject: Re: [We
Is anyone interested in setting up a Webware IRC channel on the open
projects network? IRC is a useful method of getting quick answers to
configuration problems. I'll sit around on #webware to see if anyone
else shows up.
Take a look at http://www.openprojects.net/irc_servers.html for a list of
s
On Thu, Jan 17, 2002 at 03:00:16PM +0530, Aditya Gilra wrote:
> If a client opens my site and AppServer isn't running, WebKit.cgi should
> start it. i.e I want WebKit.cgi to start up the appserver if it's not running
> already from just a client request and without my intervention. If it's
> al
||Shriharih||
God-Remembrance.
Thanks for the prompt replies.
On Thursday 17 January 2002 09:25, Ben Parker wrote:
> I need some help understanding this question: How can you complete the
> Webware installation on this external box? I'm assuming you can't get to a
> prompt on the machine, othe
24 matches
Mail list logo