Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Sockets and Internet Protocols and the fly likes Java Webserver Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes 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: 19216

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


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

Joined: Mar 22, 2005
Posts: 35241
    
    7
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.


Android appsImageJ pluginsJava web charts
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Java Webserver
 
Similar Threads
server to server transfer
MESSAGE ON PERFORMANCE
java. security. AccessControlException: Access Denied (java. net. SocketPermission..
access denied (SocketPermission 127.0.0.1:1099 connect,resolve)
importance of container in webserver