1.
get client IP : request.getremoteaddr ()
2.
Solve MyEclipse's Pemnen gence problem:
Locate the Myeclipse.ini in the MyEclipse installation directory:
-vmargs
-xmx2048m
-xx:maxpermsize=1024m
-xx:reservedcodecachesize=256m
-dosgi.nls.warnings=ignore
If the above method does not work:
Enter MyEclipse To configure the JDK for the appropriate Web server:
Windows~preferences~myeclipse~servers~weblogic~weblogic12~jdk:
-xms256m-xmx512m-xx:compilethreshold=8000-xx:permsize=48m-xx:maxpermsize=128m-xverify:none-da
Increase the memory
3.
Chrome plugin:
Chrome://extensions
Developer mode
1>. in the Chrome ( or other browser for this kernel ) , Open chrome://extensions/
or set-up Extender
2>. drag-and-drop inside the compression pack EXTENSION.CRX to this page
3>. follow the prompts to install
4.
How to remove after installing an Oracle instance (or client):
Locate the Deinstall folder in the installation directory Product/xxxhome of Oracle, execute the Deinstall.bat (you may have administrator rights, then right-click Administrator permissions to run)
5.
windows in the system disk /system32/cmd.exe can open the Doc Command window, which can be handled for some jar packages running and with administrator privileges.
6.
The NOT NULL constraint in the database, when inserting data, cannot be either null or ' , but can be ' . The middle of the string plus a space can be)
7.
Linux commands:
RZ: Select File Upload
LZ Select File Upload
Ps-ef | grep WebLogic View WebLogic Process number
Ps-ef | grep Java View Java process number
Tail –F xxx.log View log file (bottom view)
Pkill-9 process number forced kill process
In fact, kill is sending a signal to a process ID. The signal sent by default is Sigterm, and the signal sent by Kill-9 is Sigkill, which is exit. The exit signal is not blocked by the system, so the kill-9 can kill the process successfully.
Code notes (v)