Is is possible to change the baseURI used by an XMLHTTPRequest?

J

jack.romanowicz

I've got a web page that wants to dynamically load text into a div
based on various parameters.

I've got a page, CSS and javascript that works perfectly -- as long as
the page is requested using a URI that corresponds to a real file path.

But, when I install the page in our J2EE app and load it via a request
handler, the baseURI that's used on the asynchronous requests is the
one passed to the request handler, like so:

https://spdwa016.dev.com:6307/myca/usermgt/us/action?request_type=un_displayOptions&Face=en_US

This results in 404 errors. I'd strongly prefer not to modify the
request handler if at all possible. Is there any other way to retrieve
these text fragments? They are in the same domain as the page.

TIA for any suggestions,
Jack
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,483
Members
44,902
Latest member
Elena68X5

Latest Threads

Top