xhrGet error loading page

2010-02-18 Thread Camil

I have two servers: 
The GUI code is under
http://vs119.bvr.kstart.ibm.com:8080/com.ibm.ocs.ui/ocstest2.jsp 
REST APIs is under
http://vs118.bvr.kstart.ibm.com:8080/Restlet/it1/OCS/questions
This is under the same domain and port wet I am getting an error running on
firefox from my local machine's
browser.

On my machine I open firefox and
http://vs119.bvr.kstart.ibm.com:8080/com.ibm.ocs.ui/ocstest2.jsp 
My application asks for a url to run xhrGet I enter:
url:http://vs118.bvr.kstart.ibm.com:8080/Restlet/it1/OCS/questions

press get and I get an error:
Error: Unable to load
http://vs118.bvr.kstart.ibm.com:8080/Restlet/it1/OCS/questions status:0

Why is not loading. I am on the same port and domain?
what is status:0?

Thanks for your input

 


-- 
View this message in context: 
http://old.nabble.com/xhrGet-error-loading-page-tp27637835p27637835.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Tomcat NTLM authentication

2005-12-21 Thread Camil Bojneag
Hello Everybody,

 

I have implemented the Samba solution to authenticate MSIE clients
against a windows domain controller and, 

If the credentials are correct, then they are authenticated and the user
is authorized to see a particular page. 

So everything is good. 

 

Now, if I insert wrong credentials then a blank/white page is returned
to my browser.

 

I would like to add an error message to this page so the user will be
noticed that his credentials have not been accepted. 

 

I have added the following error-page tags in my conf/web.xml file
with no results. 

 

error-page

error-code404/error-code

location/404.jsp/location

/error-page

 

error-page

error-code500/error-code

location/500.jsp/location

/error-page

 

error-page

 
exception-typejava.lang.Throwable/exception-type

location/all_errors.jsp/location

/error-page

 

 

Is there any way to get a solution to this problem?   I appreciate your
feedback.

 

Thank you,

 

-Camil