上一页 1 ··· 19 20 21 22 23 24 25 26 27 ··· 41 下一页
摘要: 在这之前,根本不知道JavaScript具体到底有多重要,现在才明白JavaScript也很强大,从网上看了几个js写的网页小游戏,我都惊呆了,以后一定要好好学习js。。。。 <!DOCTYPE html> <html> <head> <title></title> <script type="te 阅读全文
posted @ 2015-07-29 19:30 wojiaohuangyu 阅读(46) 评论(0) 推荐(0)
摘要: 集训就是有太多好处了,在集训中,可以有很多人一块讨论问题,在这里边我学到了很多的东西 我是学做Javaweb的新手,刚学会这些功能,自我感觉这是一些比较基础的东西,但是是很重要的。 在这中间出现过很多的错误,有些是跟朋友一块解决的,有些是找学长解决的。 首先将数据库建好,然后通过myeclipse连 阅读全文
posted @ 2015-07-28 20:03 wojiaohuangyu 阅读(10) 评论(0) 推荐(0)
摘要: 事先先在sqlyog中新建一个数据库,然后建一个表, 然后使用myeclipse新建一个Web service project,分别建立四个包,cn.edu.hpu.service, cn.edu.hpu.servlet, cn.edu.hpu.test, cn.edu.hpu.util, 然后在第 阅读全文
posted @ 2015-07-24 18:38 wojiaohuangyu 阅读(26) 评论(0) 推荐(0)
摘要: jdbc全称为Java Data Base Connectivity(java数据库连接) 可以为多种数据库提供统一的访问 jdbc使用 jdbc编程步骤 加载驱动程序:Class.forName(driverClass) 加载Mysql驱动:Class.forName("com.mysql.jdb 阅读全文
posted @ 2015-07-24 12:17 wojiaohuangyu 阅读(11) 评论(0) 推荐(0)
摘要: 产生时间: <!DOCTYPE html> <html> <head> <title>创建日期对象</title> <script> var myDate1=new Date(); var myDate2=new Date("June 10,2010"); var myDate3=new Date( 阅读全文
posted @ 2015-07-20 21:31 wojiaohuangyu 阅读(10) 评论(0) 推荐(0)
摘要: <!DOCTYPE html> <html> <head> <title>随机产生整数,并计算其平方、平方根和自然对数</title> <script> var data; function getRandom(){ data=Math.floor(Math.random()*101); alert 阅读全文
posted @ 2015-07-20 20:37 wojiaohuangyu 阅读(6) 评论(0) 推荐(0)
摘要: <!DOCTYPE html> <html> <head> <title>判断字符串是否合法</title> <script> function isRight(subChar){ var findChar="adcdefgjshfsjhfsdkfhifjkfd243674653475_-"; fo 阅读全文
posted @ 2015-07-20 20:20 wojiaohuangyu 阅读(12) 评论(0) 推荐(0)
摘要: <!DOCTYPE html> <html> <head> <title>购物简易计算器</title> <style> section{ background-color:#C9E495; width:260px; height:320px; text-align:center; padding- 阅读全文
posted @ 2015-07-20 20:18 wojiaohuangyu 阅读(7) 评论(0) 推荐(0)
摘要: import java.util.ArrayDeque; import java.util.ArrayList; import java.util.Queue; import java.util.Scanner; public class Main { static ArrayList<String 阅读全文
posted @ 2015-07-13 12:11 wojiaohuangyu 阅读(11) 评论(0) 推荐(0)
摘要: 题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1018 看了别人的解析,顿悟了。。。。。 <pre name="code" class="cpp">#include<stdio.h> #include<math.h> int main(){ int n 阅读全文
posted @ 2015-07-13 10:53 wojiaohuangyu 阅读(6) 评论(0) 推荐(0)
上一页 1 ··· 19 20 21 22 23 24 25 26 27 ··· 41 下一页