• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Jeanne Boyarsky
  • Liutauras Vilda
Sheriffs:
  • Rob Spoor
  • Bear Bibeault
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:
  • Frits Walraven
  • Himai Minh

Unknown 12029 Error While accessing .jsp from remote machine!

 
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 + ")");
}
}
}
 
Ranch Hand
Posts: 229
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic