首页 \ 问答 \ 全国计算机二级考试

全国计算机二级考试

在全国计算机二级考试中 C语言程序设计 C++语言程序设计 Java语言程序设计 Visual Basic语言程序设计 Delphi语言程序设计 Visual FoxPro数据库程序设计 Access数据库程序设计 这么多的科目中,哪种相对好考? 
 最好提供一下相应科目的书籍,以便购买!
更新时间:2022-11-11 21:11

最满意答案

首先新建一个项目:Dynamic Web Poject  项目名为:webDemo

  1. 单击Eclipse下方窗口的Servers

  空白处右键,New->Server

  2.第一步后弹出如下菜单,选择Tomcat版本(这里我是配置过一次,可以点Add...改变tomcat目录路径),
  如果没配置过,则这里应该显示的菜单是需要填入Tomcat地址的菜单。

  3.Add添加项目到右边。(左边是所有现用项目),

  4.项目上右键,选择运行方式Run on Server

  5.在窗口Servers,右键tomcat服务器,选择Start,启动tomcat,然后在浏览器输入localhost:8080/wenDemo/first.jsp,如果显示,则成功
  (奇怪的是这种配置方法,在浏览器里直接输入localhost:8080无效,而且在tomcat下看不到发布的项目?)
  项目被发到D:\Tools\eclipse\EclipseWorkSpace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps这个虚拟目录下了。。

其他回答

eclipse中添加tomcat服务器的方式:
1、打开eclipse开发平台界面,找到头部的工具栏中的“window”

2、点击window中的preferences选项,在打开的preferences面板中找到server,点击runtime environments,再点击右边的“add”按钮。

3、在打开的添加服务器界面,选择本次要添加的tomcat服务器版本“apache tomcat v7.0”再点击“next” 按钮

4、在打开的tomcat server界面选择好tomcat安装路径,jre就可以之间点击“finish”按钮了。

5、在上步的界面上点击了完成按钮,在回到的界面中再次点击ok按钮,这样就完成了eclipse中对添加tomcat服务器的配置。

6、当完成了添加tomcat的配置之后,在eclipse中找到file-->new-->dynamic web project界面中就会出现tomcat服务器的下拉选择。

7、到这里就表示你在eclipse中添加tomcat服务器已经成功了。

相关问答

更多
  • 首先保证tomcat安装正确,能启动,将tomcat正确配到eclipse上,什么错也不报吗?看看是不是端口被占用了啊
  • eclipse+tomcat配置[2019-10-21]

    http://hi.baidu.com/iportal/blog/item/92ecd23ff504bac27d1e7190.html
  • TomcatPlugin插件安装: 下载安装Sysdeo Tomcat插件,用来管理Tomcat服务器,提供断点调试功能,并且能自动建立Tomcat环境,修改其配置文件,是一个不错的Tomcat开发插件。 英文原版下载地址:http://www.sysdeo.com/sysdeo/eclipse/tomcatplugin 中文版下载地址:http://download.gro.clinux.org/beansoft/tomcatPluginV31.zip 安装方法: (1).解压tomc ...
  • 楼主的这个eclipse版本在我的印象中好像不支持直接创建tomcat服务,得用插件吧,如果不想下插件,就用Eclipse IDE for Java EE Developers这个版本,集成了tomcat插件,创建一个项目选择server,根据提示选择,最后把你的项目添加到这个server中就行了,我后来一直用这个版本,别的版本很少用了,不知道对不对
  • 您的Eclipse是哪一版的?我的是英文版,但应该差不多。从Window -> Preferences -> Server -> Runtime Environment,然后 Add -> 选您的Tomcat版本 -> Next -> Browse -> 选您的Tomcat路径 -> Installed JREs -> 选您的JDK -> Finish
  • 首先你要先安装MyEclipse,然后菜单 Windows-Preferences窗口中左边树-MyEclipse-Servers找到Tomcat你对应的版本:然后Enabled,配置你下面的对应的路径就OK啦
  • 首先你下一个tomcat绿色版 打开eclispe 在你的eclispe左边package explorer点右键-->new-->other然后搜server 点击next后 完成
  • 打开eclipse开发平台界面,找到头部的工具栏中的“window” 点击window中的Preferences选项,在打开的preferences面板中找到Server,点击Runtime Environments,再点击右边的“Add”按钮。 在打开的添加服务器界面,选择我们本次要添加的tomcat服务器版本“Apache Tomcat v7.0”再点击“Next” 按钮 在打开的tomcat Server界面选择好我们的tomcat安装路径,jre就可以之间点击“Finish”按钮了。 在上图中点击了 ...
  • 1. 首先你下一个tomcat绿色版 2. 打开eclispe 3. 在你的eclispe左边package explorer点右键-->new-->other然后搜server 4. 5. 点击next后 6. 7. 完成
  • 1.新建一个Server。在File->New->Others 输入server 2.选择Tomcat 7.0 起名字就叫Tomcat v7.0吧 3.下一步后,应该会让你选择Tomcat的安装路径和JRE,不解释了吧 4.按理说这一步就已经可以了。但它默认的文件存储路径比较古怪,不介意的就到此为止。想修改的话就看下面的. 5.在控制台那一栏有个Server,双击咱们新建的Tomcat(先让它停止运行),出现配置页面,里面有个Use Intall Path,选它。 6.在Deploy那里填上webapp,咱 ...

相关文章

更多

最新问答

更多
  • 您如何使用git diff文件,并将其应用于同一存储库的副本的本地分支?(How do you take a git diff file, and apply it to a local branch that is a copy of the same repository?)
  • 将长浮点值剪切为2个小数点并复制到字符数组(Cut Long Float Value to 2 decimal points and copy to Character Array)
  • OctoberCMS侧边栏不呈现(OctoberCMS Sidebar not rendering)
  • 页面加载后对象是否有资格进行垃圾回收?(Are objects eligible for garbage collection after the page loads?)
  • codeigniter中的语言不能按预期工作(language in codeigniter doesn' t work as expected)
  • 在计算机拍照在哪里进入
  • 使用cin.get()从c ++中的输入流中丢弃不需要的字符(Using cin.get() to discard unwanted characters from the input stream in c++)
  • No for循环将在for循环中运行。(No for loop will run inside for loop. Testing for primes)
  • 单页应用程序:页面重新加载(Single Page Application: page reload)
  • 在循环中选择具有相似模式的列名称(Selecting Column Name With Similar Pattern in a Loop)
  • System.StackOverflow错误(System.StackOverflow error)
  • KnockoutJS未在嵌套模板上应用beforeRemove和afterAdd(KnockoutJS not applying beforeRemove and afterAdd on nested templates)
  • 散列包括方法和/或嵌套属性(Hash include methods and/or nested attributes)
  • android - 如何避免使用Samsung RFS文件系统延迟/冻结?(android - how to avoid lag/freezes with Samsung RFS filesystem?)
  • TensorFlow:基于索引列表创建新张量(TensorFlow: Create a new tensor based on list of indices)
  • 企业安全培训的各项内容
  • 错误:RPC失败;(error: RPC failed; curl transfer closed with outstanding read data remaining)
  • C#类名中允许哪些字符?(What characters are allowed in C# class name?)
  • NumPy:将int64值存储在np.array中并使用dtype float64并将其转换回整数是否安全?(NumPy: Is it safe to store an int64 value in an np.array with dtype float64 and later convert it back to integer?)
  • 注销后如何隐藏导航portlet?(How to hide navigation portlet after logout?)
  • 将多个行和可变行移动到列(moving multiple and variable rows to columns)
  • 提交表单时忽略基础href,而不使用Javascript(ignore base href when submitting form, without using Javascript)
  • 对setOnInfoWindowClickListener的意图(Intent on setOnInfoWindowClickListener)
  • Angular $资源不会改变方法(Angular $resource doesn't change method)
  • 在Angular 5中不是一个函数(is not a function in Angular 5)
  • 如何配置Composite C1以将.m和桌面作为同一站点提供服务(How to configure Composite C1 to serve .m and desktop as the same site)
  • 不适用:悬停在悬停时:在元素之前[复制](Don't apply :hover when hovering on :before element [duplicate])
  • 常见的python rpc和cli接口(Common python rpc and cli interface)
  • Mysql DB单个字段匹配多个其他字段(Mysql DB single field matching to multiple other fields)
  • 产品页面上的Magento Up出售对齐问题(Magento Up sell alignment issue on the products page)