• Post Reply Bookmark Topic Watch Topic
  • New Topic

Unknown 12029 Error While accessing .jsp from remote machine!

 
Shrikumar Vadivelu
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am using the following code in my .jsp file for request to, and get a response from a web server - without reloading the page. But this code is working if i will use http://localhost:8080/StrutsWeb/register.jsp

But if i will call remotely like http://fxzrm71:8080/StrutsWeb/register.jsp
it's throwing "Unknown 12029" Exception. Kindly let me know what changes i should do. Plz explain me detailly on this.


// code for Mozilla, Netscape, etc...
if (window.XMLHttpRequest) {
req=new XMLHttpRequest()
req.onreadystatechange=state_Change
req.open("GET",urlT,true)
req.send(null)
}

// code for IE
else if (window.ActiveXObject) {
req=new ActiveXObject("Microsoft.XMLHTTP")
req.onreadystatechange=state_Change
req.open("GET",urlT,true)
req.send(null)
}

function state_Change()
{

if (req.readyState==4) {

if (req.status==200)
{
alert("data updated successfully !")
} else {
alert("There was a problem retrieving the XML data:\n" + req.statusText + "(" + req.status + ")");
}
}
}
 
Manuel Moons
Ranch Hand
Posts: 229
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Using this code in your .jsp page? It's not java that you are showing us here. VBScript perhaps? Javascript? What are you expecting? Are you sure that you are able to reach the computer via the network? Maybe it is a network problem.
[ September 21, 2005: Message edited by: Manuel Moons ]
 
Shrikumar Vadivelu
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi...Thanks for ur reply.

I have changed my requesting url from "localhost:8080" to "servername:8080"...it's working fine now.

Thanks & Regards,
--Srikumar.V
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!