This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
When testing my assignment, I meet a strange case. I started a server in one PC, and started some clients on other defferent PCs to access the server. All the PCs are in the same Local Area Network, and all worked well. While in another case, I started the clients to access the server through Internet, not the LAN. I can find the data well, but fail to book a record. And the exception is MalformedException. I can not understand this: If the server IP is malformed, I should not find the data either....... Help me. Thank you!!
If it works in your LAN environment then that should be fine. The requirements does not require you to have it run through the internet. However, the URL might be relative based rather that address based. Meaning you relative path to your server on the LAN does not need "http:" like you would through the internet. But that is a guess. Mark