[jetty-user] Jetty rewriting a URL?
Garey Mills <[email protected]>
| Newsgroups | gmane.comp.java.jetty.support |
|---|---|
| Message-ID | <[email protected]> |
Hi -
I have (was given) a web app that contains a javascript app in its base
directory. The javascript app is contained in a directory and contains an
index.html file. The javascript app picks up the query string it is called
with by examining its 'window.location'.
What's happening however is that URLs like this
http://<hostname>:<jettyport>/<webapp name>/<javascript app
name>?<query string>
are being rewritten as
http://<hostname>:<jettyport>/<webapp name>/<javascript app
name>/index.html
or, at least, that is what 'window.location' equals when inspect it in
the Javascript. I can only surmise that Jetty is intercepting the request
and rewriting the URL.
If I'm correct, how do I, or can I, stop Jetty from doing that? I am
using jetty-distribution-7.1.6.v20100715
on Ubuntu.
Garey Mills
--
The brain is not where you think.
Me