aspose file tools
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes test for more Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "test for more" Watch "test for more" New topic

test for more

jhao wang

Joined: Aug 31, 2003
Posts: 15
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!!
Mark Spritzler

Joined: Feb 05, 2001
Posts: 17260

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.

Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
It is sorta covered in the JavaRanch Style Guide.
subject: test for more