java±à³ÌÌâ
1£º±àдһ¸ö·½·¨ function xx(int num)
ÒªÇó ·µ»ØÒ»¸östringÀàÐÍ
±ÈÈç int num =1234;
return char[] c ="1234";
2: ±àдһ¸ö·½·¨ function yy(string [] ary)
ÒªÇó·µ»ØÒ»¸ö char ÀàÐÍ
±ÈÈç char []c ="1234";
return int num = 1234
½ñÌìµÄÃæÊÔÌâ £¬´ó¼Ò°ïæ¿´¿´
Χ¹Û
ºó»ÚûѧºÃJAVA
µÚÒ»¸ö
return ""+num;
µÚ¶þ¸ö
...
...
ÎÒÒ²²»ÖªµÀ~~
Ôõô¸Ð¾õµÚ2ÌâÃèÊöºÍ¡°±ÈÈ硱²»·ûÄØ£¿
͵ÀÁµÄд·¨£º
Java code:
char[] xx(int num) {
return String.valueOf(num).toCharArray();
}
int yy(char[] c) {
return Integer.valueOf(new String(c)).intValue();
}
×Ô¼ºÑ»·µÄд·¨£º
Java code:
// ÒòΪÎÒϲ»¶ÍµÀÁ£¬¡¡
public class test {
public char[]xx(int num){
return String.valueOf(num).toCharArray();
}
public int yy(char[]c){
return Integer.valueOf(new String(c)).intValue();
}
public static void main(String[] args) {
test test = new test();
char[] c ={1234};
System.out.println(test.xx(121212));
System.out.println(test.yy(c));
}
}
ÕâÊÇÎÒдµÄÒ»
Ïà¹ØÎÊ´ð£º
<html><head><title>[@title]</title>
<meta http-equiv=Content-Type content="text/html; charset=gb2312">
<script language='javascript'>
function diyCheck ......
Ïë×öÒ»¸öjspµÄµç×ÓÉÌÎñÍøÕ¾£¬ÏëÕÒһЩԴ´úÂ룬ÇëÎÊÄǸöÍøÕ¾ÓкõÄ×ÊÔ´¡£Ð»Ð»£¡
ËÑË÷Ï塃 ¿ªÔ´µÄÒ²ÓÐ
csdn¾ÍÓÐÏàËÆµÄÔ´Â룬¥Ö÷ËÑÒ»ÏÂ
java ¿ªÔ´´óÈ«
¸ÄÄ£°åºÃÂ鷳Ŷ£¬»¹²»Èç×Ô¼ºÐ´¸öÁËÄØ
jf
¶¥Ò» ......
ÏÈÉÏ´íÎó
ÎÞ·¨Áª½ÓÊý¾Ý¿â
java.sql.SQLException: Before start of result set
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:910)
at com.mysql.jdbc.ResultSet.checkRowPos(ResultSet.java: ......
JSPÒ³ÃæÖÐÓжà¸öradio°´Å¥
JSPÒ³Ãæ½«²ÎÊýPOST¸øservlet
ÒªÇóÈçÏÂ;
1.Ñ¡ÔñÒ»¸öradio£¬µ÷ÓÃservlet servletÖиù¾Ý²ÎÊýµ÷ÓÃÆäËû½Ó¿Ú£¬³ý·ÇÑ¡ÖиÃradio²¢µã»÷JSPÖеÄʵР......