Our B/s engineering business needs to provide the customer IE with active controls, but each of the controls needs to be installed on each machine. If the controls are manually upgraded, it will be very troublesome, therefore, you need to put the control in the web project. If the user client does not install the control or the control version is low, the new control will be automatically downloaded and installed.
First, you need to create an INF file for the control, and then compress the control with the INF file into a cab package and put it in the web project (the cab package is prepared by a VC colleague ), then, modify all the JSP pages of the control to be called and change the part of the control
<Object ID = "formx" classid = "CLSID: E5022E7E-758C-4A32-99C6-55742289301D" Height = "90%" width = "100%" <br/> codebase = "CAB/koalform. cab # version =, "viewastext> </Object>
CAB/koalform. Cab indicates the path of the cab package,
Version =, indicates the version number of the control,
If the control is not installed, or the version of the control is earlier than this, the control is automatically downloaded for installation.