ocx和jsp没什么关系,你只要生成能够控制ocx的javascript或vbscript之类的代码就可以了

解决方案 »

  1.   

    对不起,我的意思没说明白!
    <html:form name="imgShowAction" action="/imgShowAction.do" method="POST" >
    <OBJECT ID="WortexImageCtl"
    CLASSID="CLSID:176686EF-11A7-11D6-A4CA-0048548B765D"
    CODEBASE="WortexLead12.CAB#version=1,0,0,107">
    </OBJECT>
    <script>
    //function displayImage(){
           document.imgShowAction.WortexImageCtl.Image=document.editForm.CheckoutUrl.value;
           }
    </script>
    我想给OBJECT付值但运行出错,
    javax.servlet.ServletException: Must specify type attribute if name is specified
    我不知道时name="imgShowAction"  或 OBJECT ID="WortexImageCtl" 有问题!
      

  2.   

    struts 提交后经过逻辑运算后,return actionMapping.findForward("infSuccess");到提交页也就本页提交给本页,要求在本页某个<html:text property="name">付值怎样做?
    info.jsp->infoAction.do->infoForm->infoAction->info.jsp在info.jsp显示逻辑运算结果。