I know what you mean. I have a model 2 servlet/jsp app which runs fine on
JRUN and Tomcat
but when I move it to Orion my URLs that go to the controller servlet get
hosed up when I
try to redirect. It wants to treat my alias for my Contoller servlet as a
subcontext to the
main web app context. The end result is that the JSP is not found because it
is not
in a subdirectory that has the same name as my servlet alias.

I'm not sure that I'm being clear. The short description is that I'm having
trouble
too.

Dave Bolt
ATSC/SPAWAR ASAT Team
Bolt's Law of Bandwidth - There is always plenty of network bandwidth, just
none for you.


-----Original Message-----
From: Kit Cragin [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 22, 2000 1:10 PM
To: Orion-Interest
Subject: what are the rules for urls in a web-app?


Has anyone figured out the rules for URLs wrt relative path names in Orion?
They seem different in the following conditions:

* url in html page directly
* url in jsp
* url in html page forwarded to by a servlet
* url in jsp forwarded to by a servlet
* url in html page redirected to by a servlet
* url in jsp redirected to by a servlet

I have tried the following, and can usually get something working in most
cases, but not consistently:

* url with relative path several different ways:
        ./<path>
        <path>
        ../<path>
        etc
* url rooted with / (excluding the root as specified in default website)
* url rooted with / (includeing root as specified in default website)
* fully qualified

And it gets more complicated with servlet mappings...


Anyone?

Thanks,

Kit Cragin
VP of Product Development
Mongoose Technology, Inc.
www.mongoosetech.com


Reply via email to