`
newxy
  • 浏览: 7576 次
  • 性别: Icon_minigender_1
最近访客 更多访客>>
社区版块
存档分类
最新评论
文章列表
利用newxy(新坐标),不写一行java代码实现多项查询<o:p></o:p> 胡立新<o:p></o:p> 利用newxy(新坐标)技术可以不写一行java代码实现多项查询。(在线演示http://www.newxy.net/zh_cn/samples/sample4/demo.jsp) <o:p></o:p> newxy(新坐标)多项查询利用了NQL查询类。 <o:p></o:p> newxy(新坐标)多项查询用到三个标签,<
newxy新坐标源码下载 http://www.newxy.net/zh_cn/download/index.jsp
在线HTML编辑器htmlarea简单使用  作者:  胡立新     下例是在JSP文件上运用HTML在线编辑器,使用了struts的标签。在其它环境下应作适当修改。 一、准备:     下载HTMLarea3.0 http://www.jhdown.com/soft/8/141/html/2006220010681.html,解压到web站点的/htmlarea目录下; 二、定义javascript的全局变量及引入js文件: &lt;script type="text/javascript"&gt;    _editor_url = &q ...
一、通过数据源设置获得数据库连接 1.运用系统中的数据源jndi名设为 jdbc/default; 2.如果系统中已有数据源的jndi名不是 jdbc/default,假设为 jdbc/xxx,则在 src/下的newxy.properties文件中加上一条:     ds.default=jdbc/xxx   二、通过编程获得数据库连接 用户可以在自定义默认DAO类中通过java代码获取数据库连接,只需覆盖超类net.newxy.dbm.BaseDAO中public Connection getConnection(String dsJndi) throws Exception 方法 ...
可参考下面jsp代码: &lt;%@ page contentType="text/html; CHARSET=utf8" %&gt; &lt;%@ taglib uri="/WEB-INF/newxy-html.tld" prefix="nhtml"%&gt; &lt;%@ taglib uri="/WEB-INF/newxy-logic.tld" prefix="nlogic"%&gt; &lt;nlogic:action1 id=&q ...
从1.04版到1.05版,为DAO类增加了几个方法:     public Object findBySql(Class c,String sql,int maxRecs) throws Exception;     public Object findBySql(Class c,String sql,boolean refresh,boolean cache,long interval,int maxRecs) throws Exception;     public Object findBySql(String sql,int maxRecs) throws Exception; ...
Global site tag (gtag.js) - Google Analytics