[EMAIL PROTECTED] wrote:
> I would prefer to define my classes in a separate package to avoid
> collision with user's other classes without having to resort to
> prefixes and the like.
> 
> But then the URI would be something like:
>         http://my.server.com:1972/csp/myApp/MyPackage.MyClass.cls
> 
> Is there a way to avoid that?
You said you need package to avoid collision with other classes of the same name.
If it's necessary, you can't avoid it.

> Packages have to do to code organization, not to external interface.
Are you saying that it is not necessary?

> The Cinema tutorial also use packages, but all the URL map to CSP
> pages that live in a separate FOLDER so that URI would be like:
>         http://my.server.com:1972/csp/myApp/MyCSPFolder/MyPage.csp
> 
> It is "more correct" to have just CSP pages in URLS?
No, but it sounds like it would really suit your purpose.

> Is there a way, from Cach� customization, to "shorten" the URL in
> order to have, for example,
>         http://my.server.com:1972/csp/myApp/MyCSPFolder/MyPage.csp
> shortened to:
>         http://my.server.com:1972/myApp/MyPage.csp
I think so.

Reply via email to