原创 ora-12545:因目標主機或對象不存在,連接失敗

新建監聽,重啓監聽服務

原创 html彈框內容返回

1、彈框 function selProductSerial(){         var url = "";         var strFeatures = "dialogWidth=660px;dialogHeight=600px

原创 用plsql連接oracle字段斷開

alter   profile   default   limit   connect_time   unlimited;

原创 postman發送對象請求

Content-Type,application/json

原创 今天的決定

我決定學習C++

原创 求圓的面積

#include<iostream>using namespace std; const float PI=3.1416;int main(){  float l_cir(float); float s_cir(float); float

原创 引用的簡單使用

#include<iostream>using namespace std;int main(){ int a=10; int &b=a; a=a*a; cout<<a<<" "<<b<<endl; b=b/2; cout<<b<<" "

原创 三個數相加

#include<iostream>using namespace std;int main(){ double a,b,c; cin>>a>>b>>c; cout<<"a+b+c="<<a+b+c<<endl; return 0;}

原创 第一個C++程序

#include<iostream>using namespace std;int main(){ int i; for(i=0;i<=10;i++)  cout<<i<<" "; return 0;}

原创 函數模板

#include<iostream>using namespace std;template<typename T>T max(T a,T b,T c){ if(b>a) a=b; if(c>a) a=c; return a;} int

原创 變量值互換

變量值不能互換 #include<iostream>using namespace std;void swap(int a,int b){ int temp; temp=a; a=b; b=temp;} int main(){ int i

原创 json數組轉爲list

1、 //解析json數組             System.out.println("productDetail:>"+productDetail);             JSONArray jsonArray = JSONAr

原创 getOutputStream() has already been called for this response

原因: 釋放jsp使用的對象時,調用response.getWritter(),和response.getOutputStream()相沖突的。 解決方法: 添加out.clear();         out = pageContext

原创 webservice使用

service端:編譯發佈一下代碼。 測試地址:http://localhost:9001/Service/ServiceHello?wsdl package com.sdx.service; import javax.jws.WebSe