zoukankan      html  css  js  c++  java
  • Myeclipse创建新项目

    1. 打开myeclipse, 配置mysql server

        preference里找到 show view-- DB Browser, 新建数据库驱动.

        1. URL填写: jdbc:mysql://localhost:3306/myznt

        2. add jars

        3. driver classname:org.gjt.mm.mysql.Driver  

        4. save password 

        然后再DB Browser里 右键新建的数据库驱动open connection验证连接成功

    2. 新建web project

    3. 给项目添加SSH支持, 顺序为spring, hibernate, struts

        spring: 默认包,  finish , 右键sping包名, build path->remove

        hibernate: 默认包, next:  spring configuration file-> next: Existing  spring configuration file->next: 选自己创建的数据库->next: 取消勾选create工厂属性->finish

        struts: 2.1, /*->next:默认包

        引入自己的包: 右键项目 -> import->filesystem->导入自己的jar包, 放入 Test_SSHWebRootWEB-INFlib

    还有没有导入的包: 右键项目0> build path-> add external archives->选择jar

  • 相关阅读:
    dota监测
    R0:前瞻
    Python基础
    c++成员函数
    异步IO简介
    使用自定义类型做qmap,qhash的key
    c++ primer 7 函数
    c++ primer 6 语句
    c++ primer 5 表达式
    c++ primer 4 数组和指针
  • 原文地址:https://www.cnblogs.com/wujixing/p/5382196.html
Copyright © 2011-2022 走看看