Roger Shields

Greenhorn
+ Follow
since Nov 13, 2006
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Roger Shields

Yes, tried both. I can enter most other URLs, like http://www.google.com and it works fine. My best guess is that it is a problem with the user agent or something.
I'm trying to read the contents of the reverse lookup page from 411.com at
http://www.411.com/10668/search/ReversePhone?phone=8001234567. (Replace 8001234567 with any number.

But anyway, I get a java.io.IOException with the message of
"Server returned HTTP response code: 403 for URL: http://www.411.com/10668/search/ReversePhone?phone=8001234567".

But if you enter the url into your browser it brings up a web page.

Now my question, I'm wondering if anyone has any idea of what I can do to actually get the content of the page?
Thanks Nathan, that helped a lot, but I have one problem that I can't seem to find an answer to. In the link you gave me, the author uses
but when I use that I get a java.util.MissingResourceException:
Is this a custom ResourceBundle that he made himself or just spelled incorrectly in his examples? What would be another way to get around getting the port number from the resourceBundle?
17 years ago
I'm new to RMI and am doing a project in school using RMI.
I need to write a client server type application utilizing RMI instead of standard object serialization over sockets.
Now my question is how to lay out my classes and how the objects will interact with each other.

In a previous assignment, we wrote a database "engine" that reads from a file.
The server is to be an intermediary to the database.
The client will call methods to the server to get values back, or modify values in the database.

What are some recomendations on how to implement this with Java RMI? Thanks.
17 years ago