× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



        Hi Blair,
        
        I tried that but, unfortunately, got the same error.

        However, I'm now convinced it's the firewall that's preventing
access to the web.

        Remember when I removed the file name from the URL and I said
the pgm managed to connect to the website.

        Well, I was wrong after inspecting the contents of what I got
back, it appears to be some stuff from the proxy server
        and not from the slashdot website as I originally thought.

        I've asked our firewall experts to allow our dev box to access
this site and hopefully this will work.

        I'll be most definitely keep everyone informed of the progress.

        In the meantime keep your thinking cap on so I can try other
ideas.

        Rgds,


Rajesh Anand
Email:Rajesh_anand@xxxxxx


-----Original Message-----
From: java400-l-bounces@xxxxxxxxxxxx
[mailto:java400-l-bounces@xxxxxxxxxxxx] On Behalf Of Blair Wyman
Sent: 05 January 2005 15:35
To: Java Programming on and around the iSeries / AS400
Subject: RE: Java Error


Hi, Rajesh.

OK, I think I've got it figured out now, but I could sure be wrong
(again).

I started another bunch of guessing, which I thought about leaving in
this
note
for entertainment, but my vanity prevailed and I cut it out.  :-)

I really think the problem is simply that you are not specifying the URL
in the form that the slashdot site expects or allows.

You have "www." at the front of the URL, when slashdot does not appear
to allow it.

Evidence:

When, in my browser window, I try to visit this precise URL:
      http://www.slashdot.org/slashdot.xml
...I get a message about 'Access is denied.'  (Try it!)

But, when I try visiting the site WITHOUT the 'www.' in the URL:
      http://slashdot.org/slashdot.xml
...I get a page full of XML stuff about 'dc' (digital certificates?)
and <channel>s and <item>s and all kinds of gorp I don't understand.

So, try taking off the "www." and see what happens?

Good luck!  HTH.

-blair

P.S. (Interestingly, if you add a backslash to the end of your URL,
even including the 'www.' -- "http://www.slashdot.org/slashdot.xml\\";
(double backslash is required in Java String -- thanks C) -- the
data I get back is very different, including links to top news, etc.


  ___   _           Blair Wyman                  IBM Rochester
 ( /_)  /  _  ' _   (507)253-2891            blairw@xxxxxxxxxx
__/__)_/_<_/_/_/_'  Opinions expressed may not be those of IBM




-- 
This is the Java Programming on and around the iSeries / AS400
(JAVA400-L) mailing list
To post a message email: JAVA400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/java400-l
or email: JAVA400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/java400-l. 
--------------------------------------------------------
 
If you are not an intended recipient of this e-mail, please notify the sender, 
delete it and do not read, act upon, print, disclose, copy, retain or 
redistribute it. Click here for important additional terms relating to this 
e-mail.     http://www.ml.com/email_terms/ 
--------------------------------------------------------
 


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.