Question : Call a certificate file from servlet

i can call the certificate file from java. is it possible call this particular file from servlet.

Help me. experts

thanks
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
import java.io.*;
public class Callexe {
  public static void main(String argv[]) {
	  String fileName = "C:/abc.PFX";
	  try
	  {
	  Runtime.getRuntime().exec("rundll32 SHELL32.DLL,ShellExec_RunDLL \""+fileName);
	  }
	  catch (IOException e1)
	  { e1.printStackTrace(); }
	   

  }
}

Answer : Call a certificate file from servlet

you should just need to return the cert to the user
you can adapt this example to return the pfx instead of an image (same concept)
http://helpdesk.objects.com.au/java/how-can-i-return-an-image-using-a-servlet
Random Solutions  
 
programming4us programming4us