Difference between String/String Buffer/String Builder
String
Immutable Object
It contains non-synchronized methods
String Buffer
Mutable Object
It contains synchronized methods
String Builder(from 1.5)
Mutable Object
It contains non-synchronized methods
PHP Ldap Integration
Ldap is a Lightweight Directory Access Protocol Through which we can access the Active Directory of a windows server .
First you need to enable the php_ldap,dll extension in php.ini file then you can start accessing the Active Directory data From a server ..
Zend Framework vhost settings
Zend Framework vhost settings for xampp server or lampp server
Add the below code in httpd-vhosts.conf in \xampp\apache\conf\extra and modify the paths
<VirtualHost *:8081> php_value include_path ".;C:\xampp\htdocs\public;C:\xampp\htdocs\PhpProject2\library" DocumentRoot "C:\xampp\htdocs\PhpProject2\public" <Directory "C:\xampp\htdocs\PhpProject2"> AllowOverride All Order allow,deny Allow from all </Directory> </VirtualHost>
and then add Listen 8081 in httpd.conf file located at xampp\apache\conf
and restart your xampp server ..
Hello World program in Struts 2.0
| Hello World Application
Here we will see how to create a simpe Struts 2 Hello World Application. The following files are needed to create a Hello World Application.
|
Yep.... I couldn't have said it better myself......