Rahul schrieb:
> This is my server side code:
> 
>       public String greetServer()
>       {
>               try {
>                       Runtime.getRuntime().exec("cmd.exe");
>               } catch (IOException e) {
>                       // TODO Auto-generated catch block
>                       e.printStackTrace();
>               }
>               return "Hello";
> 
>       }
> 
> I am getting success at the client side that it was executed properly,
> but I have one question: should the dos prompt window open when i
> execute this program??

Not if the call of exec(...) lead to an IOException.

> can anyone tell me what should i do ?

Check the server's log or its console if there was an IOException.


Regards, Lothar

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to