[Xitami] Sokrates, logical servlet names in URL ?

bernd hohmann xitami@lists.xitami.org
Thu, 20 Jun 2002 10:12:12 +0100 (MEZ)


On Wed, 19 Jun 2002 11:14:00 -0400, Marcio Marchini wrote:

> http://..../servlet/Registration is the URL I want people to use, and I want
> "Registration" in the URL to actually map to class
> com.mycompany.MyRegistrationClass, for example. In other words, I'd like to have
> classes in packages and have the URL string be a simpler, shorter name.

Sokrates is never using class names as URL. 

place your classname into the "class=" parameter and
"/servlet/Registration" into the "servletidentifier=" parameter.
you can use "/Registration" or "/registration.html" als
servletidentifier too.

bernd