Oracle solution to the service cannot be started after changing the name of the machine

Oracle to change the name of the machine will cause the service can not normally start, you can solve the following operation: 1.oracle\product\10.2.0\db_3\network\ADMIN directory, listener.ora files in the LISTENER to your new machine name, if there is a domain name and domain name; ORCL in tnsnames.ora to your new machine name, if there is a domain name and domain name; 2.oracle\product\10.2.0\db_3\...
Read(758) comments(0)

Exception: byte 2 of the UTF-8 sequence of 2 bytes is not valid.

Details: December 08, 2015 7:16:55 PM invoke org.apache.catalina.core.StandardWrapperValve Severity: for () servlet [jsp] Servlet.service in context with path [/test] threw exception [org.apache.jasper.JasperExceptio...
Read(661) comments(0)

JS delayed loading

In order to improve the page response speed, we need to make some of the page does not need to start loading the load delay, the following code into the last line of the body: DownloadJSAtOnload function () { Element var = document.createElement ("script"); Element.src = "index.js"; Document.body.appendChild (element)...
Read(680) comments(3)

Ajax request in the session when the Extjs failure automatically jump

When session fails, we can use filter to intercept and redirect to the landing page, but the request if it is a Ajax request, the page will not be redirected, this is because the Ajax is returned to the data, can not return the page. Ajax asynchronous request different from other requests, the in the request header contains a X-Requested-With:XMLHttpRequest, following two figures the difference. We can judge whether a request is asynchronous in filter, and if it is, we can return a sessionsta...
Read(642) comments(2)

JS in the operation of cookie

Forget where you use this in JS cookie operation is very convenient to set the cookie / / / SetCookie function (NameOfCookie, value, expiredays) { ExpireDate var = Date new (); ExpireDate.setTime (ExpireDate.getTime () + (expiredays * 24 * 3600 * 1000)...
Read(146) comments(0)

Extjs Gird [name] create dynamic dynamic

Sometimes we need to do a grid, but grid column name is indeed change the, we need to from the database first find out the column name, that is to say we want to me to realize dynamic grid method is achieve a dynamic code gird. following, simple but powerful, the data is read JSON file, the actual use can be put in the background of the data in the map turn it into JSON format string can be JSON format to a format consistent with the given me. The first is the JSON data. "Data": [ { "Number":"...
Read(589) comments(0)

How to write the excel directly in the output stream when doing the excel export

Before doing excel export, I was first to write the file on the server, and then download it, and later found that the original can be written directly in the output stream inside. Below is a small com.huaqin.fcstrp.util demo:package; Java.io.IOException import; Java.io.OutputStream import; Java.io.UnsupportedEncodingException import;...
Read(608) comments(0)

Extjs select the check box in the specified row in the gird

In Extjs, you can add the check box Ext.define ('ConnGrid', selType, { Title:'association, 'Ext.grid.Panel'extend, 'checkbox-selection'xtype, ConnStore store, 'checkboxmodel selType...
Read(616) comments(0)

POI operation excel common operation

Before writing a similar article this time to write something about the code to add some of the code excel package; Java.io.File import; Java.io.FileInputStream import; Java.io.FileNotFoundException import; Java.io.FileOutputStream import; Java.io.IOException import;...
Read(766) comments(1)

Oracle+mybatis uses dynamic Sql in the case of the field to be insert to achieve batch insert

Recently, the project has encountered a very fuck problem, due to the relationship between the business, DB data table can not be determined, in the course of the use of the field may be increased, so that when insert caused me a lot of trouble. Look at the end I was how to achieve: <! [CDATA[ INTO tg_fcst_lines INSERT (${lineColumn}) Result.* sq_fcst_lines.nextva, select...
Read(833) comments(3)
164 data a total of 17 PagesOne Two Three Four Five ... The Library Shadowe
    Make friends
    Would like to get to know you, study together, make progress together.
    QQ:1012546691
    personal data
    • Visit103754 times
    • Integral:Two thousand seven hundred and twenty-nine
    • Grade
    • Rank:7494th name
    • Original162
    • Reproduced:1
    • Translation:0
    • Comments:68
    Coding
    You only see me in the busy, but did not see the passion of my struggle. You have to, I have all through the night. You deny me now, I decide my future. You can look down on me, I will use the code to prove that this is the era of! Dream is doomed lonely journey, the road without question and ridicule, but that's how. Even covered all over with cuts and bruises to coding. I'm java programmer, I speak for myself!
    Blog column
    Latest comments