Thursday, 18 April 2013

how to download phrasebook from google translator OR copy google translator phrasebook one browser to another

The Translation service provided by google translator is awesome and make our study easy. Google have variety of languages on its website. We can get meaning of any word of any language in our own language. So maximum people using this online service because providing this free to world absolutely free.

But Now google provided the new phrasebook API on its website it is very useful feature and everyone wants to download this phrasebook to pc or to another browser. But people are confused how to do that. This is another error made by google that they launched this api only to use by google user and no one can download this phrase book to pc even printing this phrasebook is also tricky if you know about image editing and will take too much time to do that.

Google translator phrasebook


But i am going to tell you all that we can transfer phrasebook from one browser to another using goole account. To do that follow following steps:-

1. Make a google account by registering with google(no need if already registered).

2. Now Login to google by using registered account.

3. open goole translator website.

4. Translate words and add it into phrasebook.

5. After you added few words in phrase book (time to jump to another browser) .

6. open another browser where you want to copy this phrasebook.

7. Just login into google by same account with you made a phrasebook. Now go to goole translator website and check the phrasebook. your phrasebook is moved to another browser because phrasebook is going with your google accout.

This you can copy you phrase book in any pc any where in world. But you should have pc and internet and no need to download it to pc.

Please comments friends if this post is help full in any way

Tuesday, 6 November 2012

Java Whois App [SOLVED]

Hello Friends I am trying to execute this code for whois application but its giving me error
please help

package network;
import java.net.*;
import java.io.*;

public class Whois {

public static void main(String[] args) throws Exception {

int c;

Socket s =new Socket("internic.net",43);
// Socket s =new Socket("localhost",8080);
// Socket s =new Socket("google.co.in",21);
try
{
InputStream in = s.getInputStream();
OutputStream out= s.getOutputStream();
String str =(args.length==0 ? "google.co.in" : args[0] )+"\n";
byte buf[] = str.getBytes();
out.write(buf);
while ((c=in.read())!=-1)
{
System.out.print((char)c);
}
s.close();
}
catch(Exception e){System.out.println(e);}

 
}

}

When I am trying to compile in command prompt and NetBeans its giving me error:

Exception in thread "main" java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
at java.net.Socket.connect(Socket.java:529)
at java.net.Socket.connect(Socket.java:478)
at java.net.Socket.<init>(Socket.java:375)
at java.net.Socket.<init>(Socket.java:189)
at network.Whois.main(Whois.java:18)


please help me with this code what is reason i am getting this error

Thursday, 26 July 2012

problem in calling java class from servlet in window 7 using apache server

hi all,
             I am running a servlet on apache server in window 7. I am calling a java class from servlet. But what is problem with me. I compiled my java class fine which been called from servlet then after i try to compile to servlet but this time i got an error from compiler for servlet file is that:

java class (class name here) file not found   (for which i am creating object in servlet file)

i am getting errors in all line where i created object to invoke the java class file because specific java file is not found by compiler. both file are in same folder on server c:\.................../WEB-INF/classes
please help me what should i do....

Friday, 20 July 2012

Java server problem in window 7

Hi all Friends

I have installed java in my window 7 operating system. I am trying to run my apache server on this OS. when i trying to start the server a command prompt window run and disappeared after 1 second and i am new to java please help me what is problem. Is window 7 is a problem and me should use window xp or what is way and problem with me please help me