Message4979

Author istari
Recipients istari
Date 2009-08-02.01:18:27
SpamBayes Score 0.00029087407
Marked as misclassified No
Message-id <1249175909.08.0.393157448304.issue1420@psf.upfronthosting.co.za>
In-reply-to
Content
Attached is a patch of a modification I made to PyServlet so that it
uses modules instead of file names.

With web.xml like this:
<servlet>
    <servlet-name>pyModuleServlet</servlet-name>
    <servlet-class>org.python.util.PyServlet</servlet-name>
</servlet>

<servlet-mapping>
    <servlet-name>pyModuleServlet</servlet-name>
    <url-pattern>/app/*</url-pattern>
</servlet-mapping>

A call to http://some.host/app/servlet will cause class servlet to be
served from war/WEB-INF/jython/app/servlet.py
History
Date User Action Args
2009-08-02 01:18:29istarisetrecipients: + istari
2009-08-02 01:18:29istarisetmessageid: <1249175909.08.0.393157448304.issue1420@psf.upfronthosting.co.za>
2009-08-02 01:18:28istarilinkissue1420 messages
2009-08-02 01:18:28istaricreate