日期:2014-05-18  浏览次数:20798 次

求救 关于ASP和Java数据传递问题
是这样的。。

A公司   B公司(代表我公司)


B要取A的数据。A是ASP   数据库是ACCESS   B是   jsp   数据库是oracle


现在A发了一个ASP文件过来。。文件内容大致如下


depname=request( "depname ")
inprojname=request( "inprojname ")
nameid=request( "nameid ")
address=request( "address ")
strpurpose=request( "strpurpose ")
stress=request( "stress ")
strdirection= "不详 "
intfloormin1=request( "intfloormin1 ")
intfloormin=request( "intfloormin ")
numareamin=request( "numareamin ")
numareamin1=request( "numareamin1 ")
numpricemin=request( "numpricemin ")
right1= "产权 "
strbase=request( "strbase ")
strequitment=request( "strequitment ")
decorateid=request( "decorateid ")
strcontactperson=request( "strcontactperson ")
buildyear=request( "buildyear ")
strdescription=request( "strdescription ")
strtelephone=request( "strtelephone ")

set   rs=server.createobject( "adodb.recordset ")
      rs.open   "2handinfo ",conn,adopenstatic,3  
            rs.addnew
            rs( "buildyear ")=buildyear
            rs( "right1 ")=right1
            rs( "stress ")=stress
            rs( "address ")=address
            rs( "strpurpose ")=strpurpose
            rs( "introom ")=introom
            rs( "inthall ")=inthall
            rs( "inttoilet ")=inttoilet
            rs( "strdirection ")=strdirection
            rs( "numareamin ")=numareamin
            rs( "numareamin1 ")=numareamin1
            rs( "intfloormin ")=intfloormin
            rs( "intfloormin1 ")=intfloormin1
              rs( "strbase ")=strbase
            rs( "strequitment ")=strequitment
            rs( "decorateid ")=decorateid
            rs( "strcontactperson ")=strcontactperson+ "( "+strtelephone+ ") "
            rs( "strtelephone ")=strtelephone
            rs( "numpricemin ")=numpricemin
            rs( "strdescription ")=strdescription
            rs( "nameid ")=nameid
            rs( "depname ")=depname
              rs.update
        rs.close
      set   rs=nothing
      conn.close
      set   conn=nothing

经过分析。得到一个结果(个人认为)
A是为主动。B被动。。

B公司将IIS服务挂上,并提供一个B     IP   地址给A公司