http://proguard.sourceforge.net/ Some uses of ProGuard are: Creating more compact code, for smaller code archives, faster transfer across networks, faster loading, and smaller memory footprints. Making programs and libraries harder to reverse-engineer. Listing dead code, so it can be removed from the source code. Retargeting and preverifying existing class files for Java 6, to take full […]
dag wieers update package
http://dag.wieers.com/rpm/FAQ.php#B2 yum whatprovides mod_access.so http://dag.wieers.com/rpm/packages/ http://wiki.centos.org/Repositories For your printer see: http://openprinting.org/show_printer.cgi?recnum=Canon-iP4000 (check the FC6 Extras repo for rpm packages) http://mirror.centos.org/centos/ http://mirrorlist.centos.org/ www.silfreed.net/download/repo/redhat/ www.idevelopment.info http://www.dbazone.com/ http://www.idevelopment.info/data/Oracle/DBA_scripts/common.zip
session handaling with Servlet
Use URL rewrite to save session data import java.io.IOException; import java.io.PrintWriter; import java.io.UnsupportedEncodingException; import java.net.URLEncoder; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; public class ShoppingCartViewerRewrite extends HttpServlet { public void doGet(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException { res.setContentType(“text/html”); PrintWriter out = res.getWriter(); out.println(“<HEAD><TITLE>Current Shopping Cart Items</TITLE></HEAD>”); out.println(“<BODY>”); // Get the current session ID, […]
Linux RHCE Notes or Tutor
Donload RHCE short notes and tutor help full for RHCE Exam Download linux short how to notes or Tutor Donwload RHCE Notes part 1 Donwload RHCE Notes part 2
Java Compress data communication Object To BytesArray
http://www.unix.org.ua/orelly/java-ent/servlet/ch10_01.htm http://www.unix.org.ua/orelly/java-ent/servlet/ch10_02.htm http://www.oracle.com/technology/sample_code/tech/java/servlets/htdocs/basic.htm import java.io.*; import java.util.zip.*; public class CompressUtils { public CompressUtils() { } public static byte[] compressObjectToBytesArray(Object obj) throws IOException { byte abyte0[] = null; ByteArrayOutputStream bytearrayoutputstream = new ByteArrayOutputStream(); ObjectOutputStream objectoutputstream = new ObjectOutputStream(bytearrayoutputstream); objectoutputstream.writeObject(obj); objectoutputstream.close(); Deflater deflater = new Deflater(9); byte abyte1[] = bytearrayoutputstream.toByteArray(); deflater.setInput(abyte1); deflater.finish(); byte abyte2[] = new byte[abyte1.length]; […]