It's not a secret anymore!*
The moose likes Sockets and Internet Protocols and the fly likes Java Webserver Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Reply locked New topic
Author

Java Webserver

Javad Rashidi
Ranch Hand

Joined: Feb 13, 2011
Posts: 34

I have created a simple webserver by java, when i request a file by url in browser for example http://127.0.0.1:9328/index.html it show page correctly but when i use Ajax it gave me nothing in fact xmlhttprequest.responseText is null. does anybody can help me?


http://www.myviwo.com
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19649
    
  18

Perhaps the error is in your Ajax code. Can you show us that?


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41034
    
  43
Please do not post the same question to multiple forums: CarefullyChooseOneForum

Let's continue the discussion in this duplicate thread where you got answers already.


Ping & DNS - my free Android networking tools app
 
 
subject: Java Webserver
 
Similar Threads
importance of container in webserver
server to server transfer
MESSAGE ON PERFORMANCE
access denied (SocketPermission 127.0.0.1:1099 connect,resolve)
java. security. AccessControlException: Access Denied (java. net. SocketPermission..