手机版
你好,游客 登录 注册
背景:
阅读新闻

Easy Java Websites 2.5 发布

[日期:2011-10-26] 来源:Linux社区  作者:Linux [字体:大 中 小]

Easy Java Websites (EJW)是一个基于Java Servlet实现的MVC Web应用程序开发框架。它专门为能够以非常简单的方式来开发Web应用程序而设计。EJW简单到可以在几分钟内学会。 

Easy Java Websites 2.5 发布,更新如下:

Licensing functionality in License.java was improved by changing the match string to a checksum, so that permanent and timed keys are now likely impossible to break. Form mail can now take any or all parameters from the web.xml file. The secure download handler can now take any or all parameters from the web.xml file. A regex-based word filter was added for foul language or replacing anything).

示例代码:

 

    public class HelloWorld extends RequestHandler
      {
        public String hello()
          {
            getServerInterface().addViewObject("helloWorld", "Hello World");
     
            return "/WEB-INF/helloWorld.jsp";
          }
      }

    <div align="center">
        <h3>Hello, This Is A Simple "Hello World" Example.</h3>
        <h2>${helloWorld}</h2>   
    </div>

Easy Java Websites下载地址请点这里

linux
相关资讯       Easy Java Websites 
本文评论   查看全部评论 (0)
表情: 表情 姓名: 字数

       

评论声明
  • 尊重网上道德,遵守中华人民共和国的各项有关法律法规
  • 承担一切因您的行为而直接或间接导致的民事或刑事法律责任
  • 本站管理人员有权保留或删除其管辖留言中的任意内容
  • 本站有权在网站内转载或引用您的评论
  • 参与本评论即表明您已经阅读并接受上述条款