MyEclipse开发Java Web程序

  MyEclipse介绍
MyEclipse,是在eclipse基础上加上自己的插件开发而形成的功能强大的企业集开发环境,主要用于Java、Jave EE以及移动应用的开发。MyElipse的功能非常强大,支持也十分广泛,尤其是对各种开源产品的支持相对不错。
 
二 MyEclipse与Eclipse的区别
MyEclipse:收费,集成了很多收费的插件。比如:SSH,安装等。
Eclipse:免费开源,不包括任何附加功能的插件。
 
三 MyEclipse配置JRE
windows->Preference->Java->Installed JREs


 
 
 MyEclipse集成Tomcat服务器
windows->Preference->Myeclipse->Server->Tomcat


 
 
五 在MyEclipse启动Tomcat服务器,并测试


 


 
 
六 编写第一个web程序
1、创建项目
File->New->Web Project


 
 
2、编写index.jsp
<%@  page  language = "java"  import = "java.util.*"  pageEncoding = "ISO-8859-1" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+ "://" +request.getServerName()+ ":" +request.getServerPort()+path+ "/" ;
%>
 
<! DOCTYPE  HTML  PUBLIC  "-//W3C//DTD HTML 4.01 Transitional//EN">
< html >
   < head >
     < base  href = " <%= basePath %> " >
     < title > My JSP 'index.jsp' starting page </ title >
         < meta  http-equiv = "pragma"  content = "no-cache" >
         < meta  http-equiv = "cache-control"  content = "no-cache" >
         < meta  http-equiv = "expires"  content = "0" >    
         < meta  http-equiv = "keywords"  content = "keyword1,keyword2,keyword3" >
         < meta  http-equiv = "description"  content = "This is my page" >
         <!--
        <link  rel =" stylesheet " type="text/ css "  href ="styles.css">
        -->
   </ head >
 
   < body >
    Hello,This is my JSP page.  < br >
   </ body >
</ html >
 
3、发布项目


 
4、运行Tomcat并测试


 
 
七 MyEclipse Web的目录结构


 
 
八 遇到的问题
1、在配置Tomcat时,弹出错误: An error has occurred. See error log for more details. com/genuitec/eclipse/core/vU。
解决方法:因为 曾经安装过 MyEclipse8.5,再安装MyEclipse10时,发现D:\Genuitec\Common\plugins目前下的插件并没有被替换,于是把MyEclipse8.5卸掉,并将D:\Genuitec\Common目录删除,再重新安装MyEclipse10,没问题。全新安装MyEclipse10也没有问题。
  • 大小: 33.9 KB
  • 大小: 32.3 KB
  • 大小: 63.1 KB
  • 大小: 69.7 KB
  • 大小: 36.8 KB
  • 大小: 21 KB
  • 大小: 21.8 KB
  • 大小: 151.4 KB
  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
10.5版破解基本上同10.1版,但破解密钥和算法有所变化,经过本人的探讨和研究,更新了Crack程序,同时支持10.5和10.1版本的破解.下面是破解步骤: 1. 输入Usercode, 点击'SystemId...', 生成SystemId 2. 点击'Active', 生成LICENSE_KEY, ACTIVATION_CODE, ACTIVATION_KEY 3. 点击菜单'Tools -> 2.SaveProperties...', 目的是把生成的LICENSE_KEY, ACTIVATION_CODE, ACTIVATION_KEY保存到C:\Documents and Settings\Administrator\.myeclipse.properties文件中 4. 点击菜单'Tools -> 1.ReplaceJarFile', 选择${eclipse_home}/plugins目录, 等待30秒左右. 目的是: Replacing [SignatureVerifier <before MyEclipse 10.5>]. Done. Replacing [publicKey.bytes]. replacing file [${eclipse_home}\plugins\com.genuitec.eclipse.core_10.5.0.me201206170059.jar] and create bakFile [${eclipse_home}\plugins\com.genuitec.eclipse.core_10.5.0.me201206170059.jar.bak20120623123135] update [com/genuitec/eclipse/core/publicKey.bytes] Done. Replacing [SpecialSignatureVerifier<for MyEclipse.10.5>]. replacing file [${eclipse_home}\plugins\com.genuitec.eclipse.core.common_10.5.0.me201206160414.jar] and create bakFile [${eclipse_home}\plugins\com.genuitec.eclipse.core.common_10.5.0.me201206160414.jar.bak20120623123142] update [com/genuitec/eclipse/core/ui/preference/MECPListContentProvider.class] replacing file [${eclipse_home}\plugins\com.genuitec.eclipse.easie.core_9.0.0.me201203160414\easiecore.jar] and create bakFile [${eclipse_home}\plugins\com.genuitec.eclipse.easie.core_9.0.0.me201203160414\easiecore.jar.bak20120623123143] update [com/genuitec/eclipse/easie/core/ui/action/ServerValidateAction.class] replacing file [${eclipse_home}\plugins\com.genuitec.eclipse.j2eedt.core_10.0.0.me201203160414\j2eedtcore.jar] and create bakFile [${eclipse_home}\plugins\com.genuitec.eclipse.j2eedt.core_10.0.0.me201203160414\j2eedtcore.jar.bak20120623123146] update [com/genuitec/eclipse/j2eedt/taglib/TagLibReader.class] replacing file [${eclipse_home}\plugins\com.genuitec.myeclipse.product_10.5.0.me201206160414\myeclipse-product.jar] and create bakFile [${eclipse_home}\plugins\com.genuitec.myeclipse.product_10.5.0.me201206160414\myeclipse-product.jar.bak20120623123147] update [com/genuitec/myeclipse/product/ProductViewer.class] 执行以上4个步骤,破解成功.

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值