如果content是textarea的name就应该没有问题的
解决方案 »
- 在class类怎么获得HttpServletRequest对象
- jsp session购物车问题。请高手改正。
- 一个小问题~
- java连接oracle 无法连接到簇管理器错误
- 关于报表的问题,在线等!谢谢~~~~~~~~~
- 请教Wap中文参数传递问题。
- jsp中可以通过<% include.....%>来包含另一个文件,servlet可以否?急急急急
- Hibernate转HQL为SQL的问题还是bug
- 怎样在TOMCAT启动时自动运行一个class 或 sevlet
- W2k,Tomcat 4.04 下的CLASSPATH应该怎么设置?
- 如何用JSP取得两个网卡中其中之一的IP地址!
- 高兴送分,我愿意
拜托再想想
* To read a piece of a LOB. BLOB blob = ((OracleResultSet) rset).getBLOB (1);
byte[] bytes = blob.getBytes (<begin index>, <length>); CLOB clob = ((OracleResultSet) rset).getCLOB (2);
String str = clob.getSubString (<begin index>, <length>); BFILE bfile = ((OracleResultSet) rset).getBFILE (3);
byte[] bytes = bfile.getBytes (<begin index>, <length>);
* To read the LOB content as a stream. BLOB blob = ((OracleResultSet) rset).getBLOB (1);
InputStream input_stream = blob.getBinaryStream ();
input_stream.read (...); CLOB Clob = ((OracleResultSet) rset).getCLOB (1);
Reader char_stream = Clob.getCharacterStream ();
char_stream.read (...); CLOB Clob = ((OracleResultSet) rset).getCLOB (1);
InputStream input_stream = Clob.getAsciiStream ();
input_stream.read (...); BFILE bfile = ((OracleResultSet) rset).getBFILE (1);
InputStream input_stream = bfile.getBinaryStream ();
input_stream.read (...);
* To write a specified amount of data into a LOB. BLOB blob = ((OracleResultSet) rset).getBLOB (1);
byte[] data = ...
int amount_written = blob.putBytes (<begin index>, data); CLOB clob = ((OracleResultSet) rset).getCLOB (1);
String data = ...
int amount_written = clob.putString (<begin index>, data);
* To replace the LOB content from a stream. BLOB blob = ((OracleResultSet) rset).getBLOB (1);
OutputStream output_stream = blob.getBinaryOutputStream ();
output_stream.write (...); CLOB clob = ((OracleResultSet) rset).getCLOB (1);
Writer char_stream = Clob.getCharacterOutputStream ();
char_stream.write (...); CLOB Clob = ((OracleResultSet) rset).getCLOB (1);
OutputStream output_stream = Clob.getAsciiOutputStream ();
output_stream.write (...);
* To get LOB length. long length = blob.length ();
long length = clob.length (); long length = bfile.length ();
哎,高手,得到的CLOB数据怎么样POST到服务器上呢,
用request.getParameter("")只能得到英文字母,汉字则显示为乱码
再次感谢
有没有什么好的参考手册介绍一下?