ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  The REST of the Web
Subject:   Shouldn't you be creating new URIs?
Date:   2005-05-08 18:23:57
From:   jrbriggs
Response to: Shouldn't you be creating new URIs?

Ack! You're right. But adding the python servlet as a mapping in web.xml does remove a bit of the flexibility (albeit not much) from the whole system.


I had a play with the source code of PyServlet last night, and it's relatively simple to modify so that it will look for the last reference to a ".py" file in the path and then ignore what comes after. Which would allow you to have a catchall url-pattern and not prespecify py servlets.


1 to 1 of 1
  1. Shouldn't you be creating new URIs?
    2005-05-09 02:50:09  nferrier [View]

    • Shouldn't you be creating new URIs?
      2005-05-12 05:48:17  r.p.wilson [View]

1 to 1 of 1