jsp调用oracle存储过程时老出现错误提示,郁闷啊!!!!!!望高手赐教:)
存储过程如下:
create or replace procedure get_area_sub
(vlength in number,vwidth in number,varea out number)
as
begin
 varea:=vlength*vwidth;
end;
jsp代码如下:
<%@ page contentType="text/html;charset=gb2312"%>
<%@ page import="java.sql.*"%> 
<%@ page import="oracle.jdbc.*"%> 
<%
Connection conn=null;
CallableStatement cs=null;
try{
    Class.forName("oracle.jdbc.driver.OracleDriver");
    }
    catch (ClassNotFoundException ce){
    out.println(ce.getMessage());
    }
try{
   String url="jdbc:oracle:thin:@211.64.219.234:1521:QDKD";
   conn=DriverManager.getConnection(url,"scott","tiger");
   cs=conn.prepareCall("{call get_area_sub(?,?,?)}");
   cs.registerOutParameter(3,java.sql.Types.INTEGER);
   cs.setInt(1,20);
   cs.setInt(2,20);
   cs.execute();
   int total_data=cs.getInt(3);
   out.print(total_data);
   }catch (SQLException e){
   out.print(e.getMessage());
   }
   finally{
   cs.close();
   conn.close();
   } 
   %>
错误提示如下:
ORA-06550: 第 1 行, 第 20 列: PLS-00103: 出现符号 "("在需要下列之一时: :=.(@%; 符号 "(在 "(" 继续之前已插入。