02 2016 档案
摘要:1.Spring’s fundamental mission: Spring simplifies Java development. 2.To back up its attack on Java complexity, Spring employs four key strategies:
阅读全文
摘要:一、分析 二、 1.OGNL 在访问action前,要经过各种intercepter,其中ParameterFilterInterceptor会把各咱参数放到ValueStack里,从而使OGNL可以访问这些参数,而ValueStack里包含对象stack和map (1)map 赋值:ActionC
阅读全文
摘要:一、分析 Action->Service->Dao CRUD有功能已经抽取到BaseDaoImpl中实现,所以RoleDaoImpl没有CRUD的代码,直接从BaseDaoImpl中继承 二、1.Action层 1 package cn.itcast.oa.view.action; 2 3 impo
阅读全文
摘要:一、分析 1,设计实体/表 设计实体 --> JavaBean --> hbm.xml --> 建表 2,分析有几个功能,对应几个请求。 3,实现功能: 1,写Action类,写Action中的方法,确定Service中的方法。 2,写Service方法,确定Dao中的方法。 3,写Dao方法。 4
阅读全文
摘要:一、 User, UserDao save(User user), update(), delete(), find(), ...Role, RoleDao save(Role role), update(), delete(), find(), ...Student, StudentDao sav
阅读全文
摘要:一、为什么要整合 1,管理SessionFactory实例(只需要一个) 2,声明式事务管理 spirng的作用 IOC 管理对象.. AOP 事务管理.. 二、整合步骤 1.整合sessionFactory 在applicationContext.xml添加 1 <!-- 导入外部的propert
阅读全文
摘要:一、单独测试strust 1.action 1 package cn.itcast.oa.test; 2 3 import org.springframework.context.annotation.Scope; 4 import org.springframework.stereotype.Co
阅读全文
摘要:一、jar包 (1)spring.jar (2)Aop包 aspectjrt.jaraspectjweaver.jar (3)动态代理 cglib-nodep-2.1_3.jar (4)日志 commons-logging.jar 二、appicationContext.xml/beans.xml
阅读全文
摘要:一、jar commons-fileupload-1.2.1.jarcommons-io-1.3.2.jarfreemarker-2.3.15.jarognl-2.7.3.jarstruts2-core-2.1.8.1.jarxwork-core-2.1.6.jar 二、配置文件 1.struts.
阅读全文
摘要:基本知识 框架工具 解决方案(经典应用) 项目 12天 ========================================== OA项目, 12天 BBS 一、什么是OA? 辅助管理、提高办公效率的系统。 二、OA中有什么功能? ... ========================
阅读全文
摘要:一、 * class LooperThread extends Thread { * public Handler mHandler; * * public void run() { * Looper.prepare(); * * mHandler = new Handler() { * publi
阅读全文
摘要:1 import android.app.Activity; 2 import android.content.Context; 3 import android.hardware.Sensor; 4 import android.hardware.SensorEvent; 5 import and
阅读全文
摘要:1 import android.app.Activity; 2 import android.content.Context; 3 import android.hardware.Sensor; 4 import android.hardware.SensorEvent; 5 import and
阅读全文
摘要:一、简介 二、代码1.java (1)MainActivity.java 1 import android.app.Activity; 2 import android.content.Context; 3 import android.hardware.Sensor; 4 import andro
阅读全文
摘要:1. 2. 1 import android.app.Activity; 2 import android.content.Context; 3 import android.hardware.Sensor; 4 import android.hardware.SensorEvent; 5 impo
阅读全文
摘要:1 1 @Override 2 public void onCreate(Bundle savedInstanceState) { 3 super.onCreate(savedInstanceState); 4 setContentView(R.layout.main); 5 //获取SensorM
阅读全文
摘要:1. public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); //得到SensorManager对象 s
阅读全文
摘要:一、简介 二、代码流程 1.private Map<String, SoftReference<Drawable>> imageCache = new HashMap<String, SoftReference<Drawable>>();来起到缓存图片的作用 2.每当要访问图片,先在map找,找不到
阅读全文
摘要:一、简介 运行结果 二、代码1.xml(1)activity_main.xml 1 <?xml version="1.0" encoding="utf-8"?> 2 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/and
阅读全文
摘要:一、代码 1.xml(1)activity_main.xml 1 <?xml version="1.0" encoding="utf-8"?> 2 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 3 a
阅读全文
摘要:一、代码流程 1.MainActivity会开启PrepareRequestTokenActivity 2.PrepareRequestTokenActivity会根据配置文件的CONSUMER_KEY、CONSUMER_SECRET生成consumer 根据REQUEST_URL、ACCESS_U
阅读全文
摘要:一、代码流程 1.组织好sign-post需要的token,secrect 2.组织好发微博需要的信息 3.用sign-post进行签名 4.把签名结果从header中拿出来,转成entity,用httpclient以post的形式发送微博 二、简介 三、代码1.xml(1)activity_mai
阅读全文
摘要:一、代码 1.xml(1)activity_main.xml 1 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 2 xmlns:tools="http://schemas.android.com/to
阅读全文
摘要:一、代码 1.xml(1)activity_main.xml 1 <TextView 2 android:layout_width="wrap_content" 3 android:layout_height="wrap_content" 4 android:text="发送Http请求" 5 an
阅读全文
摘要:一、简介 二、代码1.xml(1)activity_main.xml 1 <?xml version="1.0" encoding="utf-8"?> 2 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
阅读全文
摘要:一、代码 1.xml(1)main.xml 1 <?xml version="1.0" encoding="utf-8"?> 2 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 3 android:or
阅读全文
摘要:一、OAuth简介
阅读全文
摘要:一、代码 1.xml(1)main.xml 1 <?xml version="1.0" encoding="utf-8"?> 2 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 3 android:or
阅读全文
摘要:一、简介 二、代码1.xml(1)main.xml 1 <?xml version="1.0" encoding="utf-8"?> 2 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 3 androi
阅读全文
摘要:一、简介 二、代码1.xml(1)main.xml 1 <?xml version="1.0" encoding="utf-8"?> 2 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 3 androi
阅读全文
摘要:一、简介 二、代码1.xml(1)AndroidManifest.xml 1 <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/> 2 <uses-permission android:name="andr
阅读全文
摘要:一、代码1.xml(1)AndroidManifest.xml 1 <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/> 2 <uses-permission android:name="android.p
阅读全文
摘要:一、代码 1.xml(1)activity_main.xml 1 <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/> 2 <uses-permission android:name="android.pe
阅读全文
摘要:一、简介 二、代码1.xml (1)AndroidManifest.xml 增加 <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/> <uses-permission android:name="andr
阅读全文
摘要:一、代码 1.xml(1)AndroidManifest.xml 1 <uses-permission android:name="android.permission.BLUETOOTH"/> 2 <uses-permission android:name="android.permission.
阅读全文
摘要:一、代码 1.xml(1)AndroidManifest.xml 增加 1 <uses-permission android:name="android.permission.BLUETOOTH"/> 2.java(1)MainActivity.java 1 package com.bluetoot
阅读全文
摘要:package com.example.s02_e12_json3; import java.lang.reflect.Type; import java.util.Iterator; import java.util.LinkedList; import android.app.Activity;
阅读全文
摘要:1 package com.json2; 2 3 import android.app.Activity; 4 import android.os.Bundle; 5 import android.view.View; 6 import android.view.View.OnClickListen
阅读全文
摘要:1.MainActivity.java 1 package com.json; 2 3 import java.io.IOException; 4 import java.io.StringReader; 5 6 import android.annotation.SuppressLint; 7 i
阅读全文
摘要:一、代码 1.xml(1)activity_main.xml 1 <?xml version="1.0" encoding="utf-8"?> 2 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" 3
阅读全文
摘要:一、简介 二、代码1.xml(1)activity_main.xml 1 <ListView 2 android:id="@id/android:list" 3 android:layout_width="wrap_content" 4 android:layout_height="wrap_con
阅读全文
摘要:一、流程 1.把要实现动画的一系列图片复制到res/drawable文件夹 2.在此文件新建一个xml文件用来组织图片 3.在mainactivity中用imageView.setBackgroundResource(R.drawable.anim_item)来使用这个动画 二、代码1.xml(1r
阅读全文
摘要:1 public class MainActivity extends Activity { 2 private Button button = null; 3 private ImageView imageView = null; 4 5 @Override 6 public void onCre
阅读全文
摘要:一、简介 二、代码1.res\anim下的xml(1)alpha.xml.xml 1 <?xml version="1.0" encoding="utf-8"?> 2 <set xmlns:android="http://schemas.android.com/apk/res/android" 3
阅读全文
摘要:一、简介 二、代码1.xml(1)activity_main.xml 1 <?xml version="1.0" encoding="utf-8"?> 2 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/androi
阅读全文
摘要:一、简介 二、代码1.xml(1)example_appwidget.xml 1 <?xml version="1.0" encoding="utf-8"?> 2 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/andr
阅读全文
摘要:一、代码流程 1.ExampleAppWidgetProvider的onUpdate(Context context, AppWidgetManager appWidgetManager, int[] appWidgetIds),其中appWidgetIds表示widget的id, 在这个方法里,通
阅读全文
摘要:一、代码流程1.自定义一个AppConstant.LRC_MESSAGE_ACTION字符串表示广播"更新歌词" 2.在PlayerActivity的onResume()注册BroadcastReceiver,在onPause解除BroadcastReceiver 3.自定义LrcMessageBr
阅读全文
摘要:一、流程分析 1.点击播放按钮,会根据lrc名调用LrcProcessor的process()分析歌词文件,得到时间队列和歌词队列 2.new一个hander,把时间队列和歌词队列传给自定义的线程类UpdateTimeCallback,调用handler.postDelayed(updateTime
阅读全文
摘要:一、简介 1.在onListItemClick中实现点击条目时,跳转到PlayerActivity,mp3info通过Intent传给PlayerActivity 2.PlayerActivity通过android.media.MediaPlayer实现播放,暂停、停止 二、代码1.xml(1)pl
阅读全文
摘要:一、简介 1.在main.xml中用TabHost、TabWidget、FrameLayout标签作布局 2.在MainActivity中生成TabHost、TabSpec,调用setIndicator()、setContent()、addTab(),用Intent指明要跳转的tab对应的class
阅读全文
摘要:一、简介 1.在onListItemClick()中new Intent,Intent以存储序列化后的mp2Info对象作为参数,启动serivce 2.DownloadService在onStartCommand()中通过intent 获取mp3info,开启新线程,利用HttpDownloade
阅读全文
摘要:一、项目设计 二、歌曲列表简介 1.利用java.net.HttpURLConnection以流的形式下载xml文件为String 2.自定义ContentHandler--》Mp3ListContentHandler 3.利用自定义的ContentHandler和javax.xml.parsers
阅读全文
摘要:一、代码1.xml(1)activity_main.xml 1 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" 2 xmlns:tools="http://schemas.android.com/t
阅读全文
摘要:一、代码 1.xml(1)activity_main.xml 1 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" 2 xmlns:tools="http://schemas.android.com/
阅读全文
摘要:一、流程 1.编写service,重写onBind(Intent intent),返回自定义的Binder 2.自写义Binder,提供一个可访问的方法,以传递数据 3.点击界面按钮会开启service,过程为,通过Intent的setClass指定要开启的service,再通过bindServic
阅读全文
摘要:一、代码1.xml(1)main.xml 1 <?xml version="1.0" encoding="utf-8"?> 2 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 3 android:ori
阅读全文
摘要:一、代码1.xml(1)main.xml 1 <?xml version="1.0" encoding="utf-8"?> 2 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 3 android:ori
阅读全文
摘要:一、代码1.xml(1)main.xml 1 <?xml version="1.0" encoding="utf-8"?> 2 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 3 android:ori
阅读全文
摘要:一、代码1.xml(1)main.xml 1 <?xml version="1.0" encoding="utf-8"?> 2 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 3 android:ori
阅读全文
摘要:一、简介 二、代码1.xml(1)activity_main.xml 1 <?xml version="1.0" encoding="utf-8"?> 2 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
阅读全文
摘要:一、代码 1.xml(1)main.xml 1 <?xml version="1.0" encoding="utf-8"?> 2 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 3 android:or
阅读全文
摘要:一、简介 一、代码1.xml(1)main.xml 1 <?xml version="1.0" encoding="utf-8"?> 2 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 3 androi
阅读全文
摘要:一、代码1.xml(1)main.xml 1 <?xml version="1.0" encoding="utf-8"?> 2 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 3 android:ori
阅读全文
摘要:一、代码1.xml(1)activity_main.xml 1 <?xml version="1.0" encoding="utf-8"?> 2 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 3 an
阅读全文
摘要:一、流程 1.自定义Handler,重写handleMessage(Message msg),用msg得到bundle,从而得到传递过来的数据 2.开启android.os.HandlerThread,获取looper,据此为参数new一个自定义的Handler 3.以new出来的自定义的Handl
阅读全文
摘要:一、流程 1.点击按钮,则代码会使handler把updateThread压到队列里去,从而执行updateThread的run() 2.run()里会通过msg.arg1 = i 和bundle来写参,通过执行updateBarHandler.sendMessage(msg)把消息压入消息队列,会
阅读全文
摘要:一、运行结果 一、代码1.xml(1)activity_main.xml 1 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" 2 xmlns:tools="http://schemas.androi
阅读全文
摘要:一、代码1.xml(1)main.xml 1 <?xml version="1.0" encoding="utf-8"?> 2 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 3 android:ori
阅读全文
摘要:一、代码 1.xml(1)main.xml 1 <?xml version="1.0" encoding="utf-8"?> 2 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 3 android:or
阅读全文
摘要:一、代码 1.xml(1)radio.xml 1 <?xml version="1.0" encoding="utf-8"?> 2 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 3 android:o
阅读全文
摘要:1.xml 1 <?xml version="1.0" encoding="utf-8"?> 2 <TableLayout xmlns:android="http://schemas.android.com/apk/res/android" 3 android:layout_width="fill_
阅读全文
摘要:1.AndroidManifest.xml 1 <?xml version="1.0" encoding="utf-8"?> 2 <manifest xmlns:android="http://schemas.android.com/apk/res/android" 3 package="mars.
阅读全文
摘要:一、代码 1.xml(1)activity_main.xml 1 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" 2 xmlns:tools="http://schemas.android.com/
阅读全文
摘要:一、Intent简介 二、代码 1.activity_main.xml 1 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" 2 xmlns:tools="http://schemas.android
阅读全文
摘要:一、AppWidget介绍 1.要在手机生成AppWidget需的东西 (1)AppWidgetProviderInfo a).res\xml\example_appwidget_info.xml b)a中需要布局文件res\layout\example_appwidget.xml来定义AppWid
阅读全文
摘要:1.main.xml 1 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" 2 xmlns:tools="http://schemas.android.com/tools" 3 android:lay
阅读全文
摘要:一、 1 public class CountriesActivity extends Activity { 2 protected void onCreate(Bundle icicle) { 3 super.onCreate(icicle); 4 setContentView(R.layout.
阅读全文
摘要:一、文档用法 1.xml 1 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" 2 xmlns:tools="http://schemas.android.com/tools" 3 android:l
阅读全文
摘要:1.strings.xml 1 <?xml version="1.0" encoding="utf-8"?> 2 <resources> 3 4 <string name="app_name">S02_E01_SpinnerEtc</string> 5 <string name="hello_wor
阅读全文
摘要:1.xml 1 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" 2 xmlns:tools="http://schemas.android.com/tools" 3 android:layout_w
阅读全文
摘要:1.xml 1 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" 2 xmlns:tools="http://schemas.android.com/tools" 3 android:layout_w
阅读全文
摘要:文档是这样来设置样式 <ProgressBar android:layout_width="wrap_content" android:layout_height="wrap_content" style="@android:style/Widget.ProgressBar.Small" andro
阅读全文
摘要:1.xml 1 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" 2 xmlns:tools="http://schemas.android.com/tools" 3 android:layout_w
阅读全文
摘要:1. 1 <?xml version="1.0" encoding="utf-8"?> 2 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" 3 android:layout_width="match
阅读全文
摘要:1.netstone_layout.xml 1 <?xml version="1.0" encoding="utf-8"?> 2 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 3 android:la
阅读全文
摘要:一、介绍 二、1.linear_layout.xml 1 <?xml version="1.0" encoding="utf-8"?> 2 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 3 andro
阅读全文
摘要:一、ImageView介绍 设置scalType Must be one of the following constant values. ConstantValueDescription matrix 0 Scale using the image matrix when drawing. Se
阅读全文
摘要:一、 1.checkbox_layout.xml 1 <?xml version="1.0" encoding="utf-8"?> 2 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 3 android
阅读全文
摘要:一、dpi、dp介绍 sp会随着用户在手机中设置字体大小而改变,而dp不会 二、1.dpsp_layout.xml 1 <?xml version="1.0" encoding="utf-8"?> 2 <LinearLayout xmlns:android="http://schemas.andro
阅读全文
摘要:一、layout介绍 二、测试linear_layout1.activity_main.xml <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res
阅读全文
摘要:一、View、监听器介绍 二、在Activity中获取view和设置属性,设置button的监听器 1.activity_main.xml 1 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 2 xml
阅读全文
摘要:一、activity初步 1.程序启动会先读配置文件AndroidManifest.xml找activity 2.activity会在onCreate方法中读取activity_main.xml文件,加载内容,每个activity的配置文件都会在R.java中生成id 二、代码 1.AndroidM
阅读全文
摘要:1.统一中文编码分析 tomcat默认esetISO-8859-1编码,在servlet中,可能通过request的setCharacterEncoding(charset)和response.setContentType("text/html;charset=UTF-8");处理post请求编码,
阅读全文
摘要:1.CommonUtils.java 1 package cn.itcast.commons; 2 3 import java.util.Map; 4 import java.util.UUID; 5 6 import org.apache.commons.beanutils.BeanUtils;
阅读全文
摘要:事务就是保证多个操作在同一个connection,TxQueryRunner通过JdbcUtils获取连接,而JdbcUtils通过ThreadLocal<Connection>确保了不同线程设置的con不会混淆(tl.set(con)),而同一线程的connecion可以共用,从而具有事务的功能
阅读全文
摘要:一、流程分析 二、代码 1.view层 (1)list.jsp 1 <body> 2 <p class="pLink"> 3 <a href="<c:url value='/admin/AdminOrderServlet?method=findByStatus&status=1'/>">未付款</a
阅读全文
摘要:一、流程分析 二、代码 1.view层 (1).jsp (2).js 2.servlet层 (1)AdminBookServlet.java 1 /** 2 * 删除图书 3 * @param req 4 * @param resp 5 * @return 6 * @throws ServletEx
阅读全文
摘要:一、流程分析 二、代码 1.view层 (1).jsp (2).js 2.servlet层 (1)AdminBookServlet.java 1 /** 2 * 编辑图书 3 * @param req 4 * @param resp 5 * @return 6 * @throws ServletEx
阅读全文
摘要:一、流程分析 二、代码 1.view层 (1)list.jsp 1 <link rel="stylesheet" type="text/css" href="<c:url value='/adminjsps/admin/css/book/list.css'/>"> 2 <script type="t
阅读全文
摘要:一、流程分析 1.图书管理模块介绍 2. 3. 4.添加图书第一步 5.添加图书第二步 二、代码 1.view层 (1)body.jsp 1 <body> 2 <h1 align="center">图书管理</h1> 3 <p align="center"> 4 <a href="<c:url va
阅读全文
摘要:一、流程分析 二、代码 1.view层 和一相同 2.servlet层 (1)AdminCategoryServlet.java 1 /** 2 * 删除二级分类 3 * @param req 4 * @param resp 5 * @return 6 * @throws ServletExcept
阅读全文
摘要:一、流程分析 二、代码 1.view层 (1)msg.jsp 1 <body> 2 <h2>${msg }</h2> 3 <input type="button" value="返回" onclick="history.go(-1)"/> 4 </body> 5 </html> 2.servlet层
阅读全文
摘要:一、流程分析 二、代码 1.view层 (1)list.jsp 1 <c:forEach items="${parents }" var="parent"> 2 <tr class="trOneLevel"> 3 <td width="200px;">${parent.cname }</td> 4
阅读全文
摘要:一、流程分析 二、代码 1.view层 (1)list.jsp 1 <c:forEach items="${parents }" var="parent"> 2 <tr class="trOneLevel"> 3 <td width="200px;">${parent.cname }</td> 4
阅读全文
摘要:一、流程分析 二、代码 1.view层 (1)list.jsp 1 <c:forEach items="${parents }" var="parent"> 2 <tr class="trOneLevel"> 3 <td width="200px;">${parent.cname }</td> 4
阅读全文
摘要:一、流程分析 二、代码 1.view层 (1)add.jsp 1 <script type="text/javascript"> 2 function checkForm() { 3 if(!$("#cname").val()) { 4 alert("分类名不能为空!"); 5 return fal
阅读全文
摘要:一、流程分析 1.分类管理介绍 2.查询所有分类 二、代码 1.view层 (1)top.jsp 1 <body style="background: rgb(78,78,78);color: #fff;"> 2 <h1 style="text-align: center; line-height:
阅读全文
摘要:一、流程分析 1.后台页面和模块 2.管理员 二、代码 1.view层 (1)loigin.jsp 1 <%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%> 2 <%@ taglib prefix="c" uri="
阅读全文
摘要:一、流程分析 二、代码 1.web.xml 1 <!-- 登录过滤(订单及购物车只有登录才能访问) --> 2 <filter> 3 <display-name>LoginFilter</display-name> 4 <filter-name>LoginFilter</filter-name> 5
阅读全文
摘要:一、支付流程图 二、流程分析 1.页面ajax访问后台(servlet或resetful接口),给后台传支付参数 2.后台根据参数组织明文和暗文后,返回给前端ajax 3.前端ajax获取后台组织的明文和暗文,以此作为参数访问支付网关 4.支付成功后,光大会访问设置的回调地址,在回调地址中验签,通过
阅读全文
摘要:一、流程分析 1.在线支付介绍 2.易宝的支付流程 3.支付发起点 4.订单支付之请求易宝 二、代码 1.view层 (1)desc.jsp 1 <c:if test="${order.status eq 1 }"> 2 <a href="<c:url value='/OrderServlet?me
阅读全文

浙公网安备 33010602011771号