There's not really much to display.
I'm using the URL parameter setURL method and I'm not getting any exceptions when I instantiate the URL.
Main Topics
Browse All TopicsI'm currently involved in a project which is requiring me to display a certain url in a JDIC WebBrowser.
The problem is that when I call the setURL method, it displays the site's home page.
I tried putting the url into my browser and just like in the program, it redirects me to the home page.
If I try reading the page char by char using the url's inputstream, it gives me the pages content (Exactly what I need to display).
How can I get passed this?
Thanks
-OBCT
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
The response code was 200.
I forgot to mention that when you navigate your browser from their home page, to this url, it is displayed fine. However I am trying to avoid this process.
I checked for javascript and there wasn't anything that could have caused re-direction except one line of code that simply changed the url name in the browsers address bar.
>>But why would I be able to view the page when I navigate through the home page by clicking its link without it re-directing me?
I think, the links are referenced to different url than the one you are using, and also from your post, it is clear that the display url and the actuall url are different!
I'm trying to get to http://someserver.somesite
In this site theres this bit of javascript (the one you suggest is causing the redirection).
if (top == self) { top.location.href="http://
I know that the url I'm trying to go to is the right one, I just can't figure out whats causing the re-direction.
If it is the javascript, could I read it into a String, strip out the javascript, save that to a file, then view that html file in the browser?
Business Accounts
Answer for Membership
by: kawasPosted on 2005-09-26 at 20:03:07ID: 14964024
can we see some code?
it could be that you are not passing in the right arguments to setURL(URL), or that you are using the setURL() instead of the one argument version.