Today I've downloaded css2 spec from www.w3.org. Follow the below steps to download
1. Go to www.w3.org
2. From the list of items displayed on the left hand side select 'Web Design and Applications'.
3. Select 'HTML & CSS'.
4. Select 'CSS' under 'Current Status of Specifications' section.
5. Select 'Cascading Style Sheets, level 2 (CSS2) Specification' under 'Standards' section. Now the URL looks like http://www.w3.org/TR/2008/REC-CSS2-20080411/
6. Select the download type you like under 'Available Formats' section.
Tuesday, November 24, 2009
Wednesday, October 7, 2009
How to get richfaces svn repository copy
- Open Jboss home. Select Projects->Web Interface->RichFaces link.
- Select Community icon. Select Source Code ->Committer SVN. It asks for userid and password.
- Provide Jboss community user id and password. Now it opens svn repository. Copy the url displayed in the browser url locator.
- In this case this is: https://svn.jboss.org/repos/richfaces/
- Install tortoise svn in your machine. This adds svn commands to windows context menu for right click.
- Open windows context menu and select SVN Checkout... option.
- In the Checkout dialog paste the url in repository location box and select ok. This will checkout the application into current directory.
Tuesday, September 22, 2009
Jt - Java Pattern Oriented Framework
Jt is a pattern oriented framework for the rapid implementation of Java applications. Jt has been utilized in several large mission critical systems. Jt implements many well-known patterns including Data Access Objects (DAO), GoF design patterns and J2EE patterns.
I've downloaded 'Jt 4.4 distributions (binaries & sources)' zip file from https://jt.dev.java.net/servlets/ProjectDocumentList. Extract the downloaded zip file. Extraction creates Jt, jtapps, jtejb, jtwizard, META-INF folders.
I've gone through Jt/docs/Jt.doc. It explains how to use Jt for rapid implementation of Java applications.
Jt/src/java folder has source code used to implement Jt. Most of the design patterns are implemented by Jt. So going through this source code and using it in an application gives in depth knowledge on how to implement and use design patterns.
I've downloaded 'Jt 4.4 distributions (binaries & sources)' zip file from https://jt.dev.java.net/servlets/ProjectDocumentList. Extract the downloaded zip file. Extraction creates Jt, jtapps, jtejb, jtwizard, META-INF folders.
I've gone through Jt/docs/Jt.doc. It explains how to use Jt for rapid implementation of Java applications.
Jt/src/java folder has source code used to implement Jt. Most of the design patterns are implemented by Jt. So going through this source code and using it in an application gives in depth knowledge on how to implement and use design patterns.
Thursday, September 17, 2009
Configuring https in Apache and forwarding to http application
Lines added or modified C:\Program Files\Apache Software Foundation\Apache2.2\conf\httpd.conf.
Listen 8070
LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_ajp_module modules/mod_proxy_ajp.so
LoadModule proxy_balancer_module modules/mod_proxy_balancer.so
LoadModule proxy_connect_module modules/mod_proxy_connect.so
LoadModule proxy_ftp_module modules/mod_proxy_ftp.so
LoadModule proxy_http_module modules/mod_proxy_http.so
LoadModule rewrite_module modules/mod_rewrite.so
LoadModule ssl_module modules/mod_ssl.so
Include conf/extra/httpd-ssl.conf
#RewriteEngine On
#RewriteRule (.*) http://localhost:8080$1
#ProxyPassReverse /kr/ http://localhost:8080/kr/client/knx
#Redirect permanent /kr/ http://localhost:8080/kr/client/knx
#Alias 8070 8080
ProxyPass /kr/ http://localhost:8080/kr/
ProxyPassReverse /kr/ http://localhost:8080/kr/
Lines added or modified C:\Program Files\Apache Software Foundation\Apache2.2\conf\extra\httpd-ssl.conf.
#SSLPassPhraseDialog builtin
SSLCertificateFile "C:/Program Files/Apache Software Foundation/Apache2.2/conf/ssl/server.crt"
SSLCertificateKeyFile "C:/Program Files/Apache Software Foundation/Apache2.2/conf/ssl/server.key"
Listen 8070
LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_ajp_module modules/mod_proxy_ajp.so
LoadModule proxy_balancer_module modules/mod_proxy_balancer.so
LoadModule proxy_connect_module modules/mod_proxy_connect.so
LoadModule proxy_ftp_module modules/mod_proxy_ftp.so
LoadModule proxy_http_module modules/mod_proxy_http.so
LoadModule rewrite_module modules/mod_rewrite.so
LoadModule ssl_module modules/mod_ssl.so
Include conf/extra/httpd-ssl.conf
#RewriteEngine On
#RewriteRule (.*) http://localhost:8080$1
#ProxyPassReverse /kr/ http://localhost:8080/kr/client/knx
#Redirect permanent /kr/ http://localhost:8080/kr/client/knx
#Alias 8070 8080
ProxyPass /kr/ http://localhost:8080/kr/
ProxyPassReverse /kr/ http://localhost:8080/kr/
Lines added or modified C:\Program Files\Apache Software Foundation\Apache2.2\conf\extra\httpd-ssl.conf.
#SSLPassPhraseDialog builtin
SSLCertificateFile "C:/Program Files/Apache Software Foundation/Apache2.2/conf/ssl/server.crt"
SSLCertificateKeyFile "C:/Program Files/Apache Software Foundation/Apache2.2/conf/ssl/server.key"
How do I create a self-signed SSL Certificate for testing purposes?
- Make sure OpenSSL is installed and in your
PATH
.
- Run the following command, to create
server.key
andserver.crt
files:
$ openssl req -new -x509 -nodes -out server.crt -keyout server.key
These can be used as follows in yourhttpd.conf
file:SSLCertificateFile /path/to/this/server.crt
SSLCertificateKeyFile /path/to/this/server.key
- It is important that you are aware that this
server.key
does not have any passphrase. To add a passphrase to the key, you should run the following command, and enter & verify the passphrase as requested.
Please backup the$ openssl rsa -des3 -in server.key -out server.key.new
$ mv server.key.new server.key
server.key
file, and the passphrase you entered, in a secure location.
Subscribe to:
Posts (Atom)