Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / First Aid / August 2006

Tip: Looking for answers? Try searching our database.

Java redirecting url

Thread view: 
Ikke - 15 Aug 2006 21:05 GMT
First of all, I'm a noob on java stuff. So if I'm in the wrong group or
something, please tell me.

I have been using an embedded java program "FreedomAudio" in a webpage.
But on a new install it looks for a webpage at
"http://www.freedomaudio.com/install... ) but the page does not exist
any more! (about a year or more). But how can I change the url to
another site? (I've got the install.jar file)
And is that legal? I respect copyrights, but if the maker does not
support it anymore, can I still use it (and modify it)???

I hope someone can help, thanks!

Signature

Met vriendelijke groet,

Ikke
~~~~~~~~~~~~~~~~~~~~~~~~~
ftp://upload:upload@ara.myftp.org:21
~~~~~~~~~~~~~~~~~~~~~~~~~

Het probleem met weersvoorspellingen is dat je er nooit zeker van bent
dat ze altijd verkeerd zijn.

Ian Wilson - 16 Aug 2006 10:36 GMT
> First of all, I'm a noob on java stuff. So if I'm in the wrong group or
> something, please tell me.
[quoted text clipped - 8 lines]
>
> I hope someone can help, thanks!

Two methods occur to me, neither involve changing your Jar file

Lets say you want to redirect
http://www.freedomaudio.com/install/whatever to
http://www.yoursite.com/install/whatever and that the IP-address of
www.yoursite.com is 123.45.67.89

1) Add an entry to your "hosts" file redirecting www.freedomaudio.com to
the ip-address of www.yoursite.com. On Windows XP the "hosts" file is at
C:\WINDOWS\system32\drivers\etc\hosts
add a line like
123.45.67.89    www.freedomaudio.com

2) Install a web proxy (e.g. squid is free and mainstream) and configure
your web-browser to use the proxy then configure the proxy to do the
redirection. Almost certainly overkill for your scenario.
Ikke - 16 Aug 2006 21:57 GMT
>> First of all, I'm a noob on java stuff. So if I'm in the wrong group or
>> something, please tell me.
[quoted text clipped - 24 lines]
> web-browser to use the proxy then configure the proxy to do the redirection.
> Almost certainly overkill for your scenario.

Thanks for your reply,

Both solutions are local solutions, are they not? I mean, if someone
else goes to http://www.yoursite.com/  (where the freedomAudio applet
is) it does not automatically goes to
http://www.yoursite.com/install/whatever it still looks for
http://www.freedomaudio.com/install/whatever .

But if it works locally I’m already a happy man. :-) But if it can be
fix for all visitors… that would even be greater. :')

Signature

Met vriendelijke groet,

Ikke
~~~~~~~~~~~~~~~~~~~~~~~~~
ftp://upload:upload@ara.myftp.org:21
~~~~~~~~~~~~~~~~~~~~~~~~~

Voer eendjes, geen oorlog...

Ian Wilson - 17 Aug 2006 10:49 GMT
>>> First of all, I'm a noob on java stuff. So if I'm in the wrong group
>>> or something, please tell me.
[quoted text clipped - 30 lines]
>
> Both solutions are local solutions, are they not?

Yes.

> I mean, if someone
> else goes to http://www.yoursite.com/  (where the freedomAudio applet
> is) it does not automatically goes to
> http://www.yoursite.com/install/whatever it still looks for
> http://www.freedomaudio.com/install/whatever .

I hadn't appreciated that you wanted to make the applet available to
third parties on a public web page.

I'd check the licence carefully.

> But if it works locally I’m already a happy man. :-) But if it can be
> fix for all visitors… that would even be greater. :')

I imagine you'd be best off obtaining a source code licence and
modifying the source.

It looks like FreedomAudio has been removed from SourceForge and other
websites. I'd suspect there is some significant problem with it (perhaps
a legal issue).

I'd avoid FreedomAudio and look for an alternative.
Ikke - 17 Aug 2006 21:02 GMT
>>>> First of all, I'm a noob on java stuff. So if I'm in the wrong group or
>>>> something, please tell me.
[quoted text clipped - 52 lines]
>
> I'd avoid FreedomAudio and look for an alternative.

Thanks for the advice.

Signature

Met vriendelijke groet,

Ikke
~~~~~~~~~~~~~~~~~~~~~~~~~
ftp://upload:upload@ara.myftp.org:21
~~~~~~~~~~~~~~~~~~~~~~~~~

Ik heb me voorgenomen om eeuwig te leven. Tot nu toe gaat dat goed.



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.