Where is the URLEncoder in JAVA today?
Hello,
Where is the java URLEncoder in 1.5
I can see it in java.net. etc... but it is depricated. won't let me use it.
Also
Where is the Base64 Encoder Decoder in 1.5 today.
Or can you please tell me how to look for these things so I don't bother you anymore.
I am very new to Java
Thank you,
sqlagentman
> Hello,
>
> Where is the java URLEncoder in 1.5
> I can see it in java.net. etc... but it is
> depricated. won't let me use it.
If you read the API, you'll see what the replacement method call is...
> Also
>
> Where is the Base64 Encoder Decoder in 1.5 today.
the Base64 classes were part of the unsupported com.sun.* libraries. The Jakarta Commons provide a codec library that you can use to do Base64.
> >
> > Where is the Base64 Encoder Decoder in 1.5 today.
>
> the Base64 classes were part of the unsupported
> com.sun.* libraries.
There is a documented way although it is very odd...
http://forum.java.sun.com/thread.jspa?threadID=477461&start=0&tstart=0
bckrispi
I went to JAVA API link and the only Depricated thing about
java.net.URLEncode(...) is the constructure that takes only one Parameter.
But Still could not get the constructor with two Params to be accepted.
Error was Class not found java.net ? !!!
any ways I used the jakarta package and that is good enough for me.
Thank you,
sqlagentman