Issue483305
Created on 2001-11-19.09:20:32 by bckfnn, last changed 2012-03-19.23:51:30 by amak.
File name |
Uploaded |
Description |
Edit |
Remove |
unnamed
|
amak,
2012-03-19.23:51:30
|
|
|
|
msg3005 (view) |
Author: Finn Bock (bckfnn) |
Date: 2001-11-19.09:20:32 |
|
It could be very usefull if a script was run when the
PyServlet is loaded.
Arun Sharma suggested that __init__.py is run when
loading. I would also suggest that another script is
run when the servlet is destroyed (__del__.py maybe).
getServletContext().getRealPath("__init__.py")
getServletContext().getRealPath("__del__.py")
|
msg6879 (view) |
Author: Alan Kennedy (amak) |
Date: 2012-03-19.21:08:29 |
|
Frank, is this worth doing?
I'll do it if you think its worthwhile.
Otherwise let's close it.
|
msg6882 (view) |
Author: Frank Wierzbicki (fwierzbicki) |
Date: 2012-03-19.21:18:03 |
|
Alan: It sounds like you don't think so, and you are our resident Servlet expert. Closing bugs that are more than a decade old is fun :)
|
msg6904 (view) |
Author: Alan Kennedy (amak) |
Date: 2012-03-19.23:51:30 |
|
Agreed.
The web application invocation situation changed completely in 2004 with
WSGI, and we have a good and flexible servlets->WSGI story.
I really consider the PyServlet to be more of an example than an
infrastructure on which to build serious applications. If I had added
PyServlet to the codebase, I would have added it under the Demo directory.
And now that it's been out there so long, I'd prefer not to change the
behaviour.
|
|
Date |
User |
Action |
Args |
2012-03-19 23:51:30 | amak | set | files:
+ unnamed messages:
+ msg6904 |
2012-03-19 21:18:03 | fwierzbicki | set | status: open -> closed resolution: out of date messages:
+ msg6882 |
2012-03-19 21:08:29 | amak | set | nosy:
+ amak messages:
+ msg6879 |
2009-03-06 19:16:22 | fwierzbicki | set | priority: normal -> low |
2008-12-15 18:44:02 | fwierzbicki | set | components:
+ Core, - None |
2008-11-01 02:52:07 | fwierzbicki | set | nosy:
+ fwierzbicki |
2001-11-19 09:20:32 | bckfnn | create | |
|