`
yaoweinan
  • 浏览: 142087 次
  • 性别: Icon_minigender_1
  • 来自: 苏州
社区版块
存档分类
最新评论
文章列表

flex请求服务

    博客分类:
  • flex
flex页面: 其中:_url.action为用户定义的请求,该页面向struts2发送两个参数:userName,pswWord Xml代码 <?xml version="1.0" encoding="utf-8"?>   <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" backgroundColor="#f6f6f6" backgroundGradientCo ...
<!--anychart xml文件详解--> <!--根元素--> <anychar> <settings>   <!--初始化的时候是否显示动画效果-->   <animation enabled="True" /> </settings> <charts>   <!--     plot_type="CategorizedBySeriesVertical" 按series显示图形    plot_type="Categorize ...
1.oncontextmenu="window.event.returnvalue=false"将彻底屏蔽鼠标右键2008-04-19 14:521.oncontextmenu="window.event.returnvalue=false"将彻底屏蔽鼠标右键 <tableborderoncontextmenu=return(false)><td>no</table>可用于table 2.<bodyonselectstart="returnfalse">取消选取、防止复制 3.onp ...
在struts2的配置中我们可以这样配置: <filter>         <filter-name>struts2</filter-name>         <filter-class>org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter</filter-class>   </filter> <filter-mapping>         <filter-name>struts2</filter-n ...
<context-param> <param-name>contextConfigLocation</param-name> <param-value> classpath*:conf/spring/applicationContext_core*.xml, classpath*:conf/spring/applicationContext_dict*.xml, classpath*:conf/spring/applicationContext_hibernate.xml, classpath*:conf/spring/applicationCon ...
<tx:annotation-driven transaction-manager="txManager"    /> <bean id="conntains" class="com.zssoft.comm.Conntains"> </bean> <bean id="SpringContextUtil" class="com.zssoft.tools.SpringDAOUtil"/>   <bean id="adm ...
一.用JS自带函数打印 直接调用 Java代码 复制代码    1. <a href="javascript:window.print();">打印</a> <a href="javascript:window.print();">打印</a> 二.IEWebBrowser组件 介绍 http://support.microsoft.com/default.aspx?scid=kb%3BEN-US%3BQ267240#top http://support.microsoft.com/kb/q ...
function a(){ var lab=Ext.get("testL"); lab.on({'click':{fn:fn,scope:this,delay:100}, 'mouseover':{fn : fn1,scope:this}, 'mouseout':{fn : fn2,scope:this}}); }     Ext.onReady(function(){     Ext.get("testInput").addListener("click",a);     }); function fn(){ alert ...
import java.io.ByteArrayOutputStream; import java.io.IOException; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import com.opensymphony.xwork2.ActionContext; public class TestDao { private  ByteArrayOutputStream bout = new ByteArrayOutputStream(4096 ...
public Vector<ForumBean> listForum() { // TODO 获得所有版块 Vector<ForumBean> lst=new Vector<ForumBean>(); DataConn cn=DataConn.getInstance(); String SQL="SELECT forum_id, title, forum_info, the_user FROM forum_forums"; try { PreparedStatement statement = cn.getConn ...
package forum.datasource; import java.sql.Connection; import java.sql.DriverManager; import java.sql.SQLException; import com.microsoft.jdbc.sqlserver.SQLServerDriver; public final class  DataConn { /** * @姚伟男 *数据源 */ private Connection connection=null; private static DataConn instance=n ...
package data; import java.sql.Connection; import java.sql.DriverManager; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; public final class  DataConn { /** * @姚伟男 */ private Connection connection=null; private PreparedStatement statement=null; p ...
/** * 姚伟男 */ function high(which2){ theobject=which2; which2.filters.alpha.opacity=200; } function low(which2){ which2.filters.alpha.opacity=40; } function changePage(url,frm){ document.getElementById(frm).src=url; } function changeText(tab){ document.getElementById(tab).className="textfi ...

mySql常用实例

    博客分类:
  • sql
drop table if exists link_tb; commit; create table if not exists link_tb( id int unsigned not null auto_increment, name varchar(20), link varchar(255), detail varchar(150), primary key(id) ); commit; drop table if exists admin_tb; commit; create table if not exists admin_tb( id int unsigned not null ...

java发送简单邮件

    博客分类:
  • j2se
package forum.tools; import java.util.Date; import java.util.Properties; import javax.mail.Message; import javax.mail.Session; import javax.mail.Transport; import javax.mail.internet.InternetAddress; import javax.mail.internet.MimeMessage; /** * @姚伟男 */ public class SendMail { private static Strin ...
Global site tag (gtag.js) - Google Analytics