Categories
-
Recent Posts
Hot Link
Blogroll
Archives
- January 2012 (1)
- November 2011 (2)
- November 2010 (3)
- September 2010 (2)
- June 2010 (1)
- March 2010 (5)
- January 2010 (1)
- December 2009 (2)
- October 2009 (1)
- September 2009 (2)
- August 2009 (6)
- July 2009 (2)
Meta
Author Archives: MXcode
Use JSP Tag with content body
1.First add this to web.xml: 1 2 3 4 <taglib> <taglib-uri>http://longshine.com/cufj</taglib-uri> <taglib-location>/WEB-INF/tlds/cufjTag.tld</taglib-location> </taglib> 2.Put the tld file into folder: /WEB-INF/tlds/. And the tld file is like this: 1 2 3 4 5 6 7 8 9 10 11 12 13 … Continue reading
Change ip setting using bat command
Example: 1.Change to static: netsh interface ip set address "Wireless Network Connection" source = static 10.206.15.184 255.255.255.0 10.206.15.1 netsh interface ip add dns name = "Wireless Network Connection" addr = 10.206.1.33 netsh interface ip add dns name = "Wireless Network … Continue reading
how to install squid-2.5.STABLE13 on linux
To build and install the Squid Cache, type: % ./configure –prefix=/usr/local/squid % make all % make install
validation problems when deploy an application in weblogic 10
Error message is: Unable to access the selected application. Exception in AppMerge flows’ progression Exception in AppMerge flows’ progression VALIDATION PROBLEMS WERE FOUND problem: cvc-complex-type.2.3: Element ‘filter@http://java.sun.com/xml/ns/javaee’ with element-only content type cannot have text content.: problem: cvc-complex-type.2.3: … Continue reading
open a port on linux server
========================================= iptables -A RH-Firewall-1-INPUT -p tcp -m state –state NEW -m tcp –dport 3690 -j ACCEPT ========================================= RH-Firewall-1-INPUT is the name of the chain, and change 3690 to the port number you expect. You must restart the service to make … Continue reading
make div align center
use style as: .style{margin-left:auto;margin-right:auto;} or .style{margin:0 auto;} for short
ORACLE UTL_RAW.BIT_AND
eg. select to_number(UTL_RAW.bit_and(to_char(1), ’3′)) from dual;
Posted in oracle
Leave a comment
href and onclick method in ‘A’ tag
How to invoke onclick method but not go to the page head. 1 <a href="#" onclick="javascript:jsMethod();return false;">a link</a>
create a swing application
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 … Continue reading
how to read a url
String s = request.getRequestURL().toString(); URL url = new URL(s); BufferedReader bf = new BufferedReader(new InputStreamReader(url.openStream()));
Posted in java
Leave a comment