S
sanjeev.atvankar
Hi Gurus,
I develop console application that Open Web Browser and pass URL with
query string.
My code is as below:
public static void main(String[] args)
{
try
{
String command = "cmd /c start "+
"http://localhost:8084/NCC/Banking?"+
"CTRL_CODE=GetAudFile&"+
"zipcode=10001&file=A" ;
System.out.println("URL is :"+command);
Runtime.getRuntime().exec(command);
return;
}
catch (Exception e)
{
System.out.println("Error :: "+e);
}
}
When i run this code it opens the required URL but it doesn't take the
query string i.e. zipcode and file.
i.e. when debug the programmer i able to get the value for CTRL_CODE
but cann't able to get value(null) for zipcode and file in servlet.
Could anyone help me?
Thanks in Advance
Sanjeev
(e-mail address removed)
I develop console application that Open Web Browser and pass URL with
query string.
My code is as below:
public static void main(String[] args)
{
try
{
String command = "cmd /c start "+
"http://localhost:8084/NCC/Banking?"+
"CTRL_CODE=GetAudFile&"+
"zipcode=10001&file=A" ;
System.out.println("URL is :"+command);
Runtime.getRuntime().exec(command);
return;
}
catch (Exception e)
{
System.out.println("Error :: "+e);
}
}
When i run this code it opens the required URL but it doesn't take the
query string i.e. zipcode and file.
i.e. when debug the programmer i able to get the value for CTRL_CODE
but cann't able to get value(null) for zipcode and file in servlet.
Could anyone help me?
Thanks in Advance
Sanjeev
(e-mail address removed)