Eclipse Settings:
1. Install Eclipse
2. In Eclipse help>InstallNewSoftware in the drop down select "All Available sites" -> under "programing language" select "Php Development tool" and install
3. In Eclipse click new > others > php project
4. In Eclipse click on the project created new > php file
XAMPP Settings :
1. Download XAMPP from http://www.apachefriends.org/en/xampp.html
2. Install XAMPP
3. Start XAMPP. Click on Start button against the apache on the XAMPP panel
4. It should show a green indicator with text "running" in it
5. try to hit this link http://localhost/ using the browser a XAMPP local home page should load if not your there is some problem with you apache start up
Apache start up error
1. If you do not see a green indicator with text "running" or you are unable to load the XAMPP home page using the http://localhost/ . your ports may be blocked.
2. Click on the Port-Check button on the panel. and see if port 80 is free or being used by some application. If its not free terminate the application using the port
3. Restart XAMPP and try step 1
XAMPP Config :
1. Navigate to the following installation path \xampp\apache\conf and open the httpd.conf search for attribute "DocumentRoot" and replace the path with the workspace path where the project resides . This has to be replaced at two places in the same file
Access Denied Error :
1. Navigate to the following installation path \xampp\apache\conf and open the httpd.conf search for attribute "DocumentRoot" and replace the path with the workspace path where the project resides . This has to be replaced at two places in the same file
Setting up Password for MySql:
1. Start MySql using the button on the XAMPP panel .
2. Click on the Admin button on the XAMPP panel.
3. Create Database using the phpMyAdmin ui
4. Set password for the DataBase created
5. close the browser . Navigate to the following installation path \xampp\phpMyAdmin
6. open file config.inc.php and change the following
'auth_type'] = 'http';
'AllowNoPassword'] = false;
provide the user/pwd details in the same file
7. Restart MySql and Apache using the XAMPP panel and click on the Admin button .
8. Provide the log in credentials to log into the database
Thursday, October 28, 2010
Tuesday, October 19, 2010
Serializable
Code :>
Class A {
public string data;
}
Class B implements Serializable{
public ClassA objClassA
public String str
}
Class C {
//set values in objClassA
//set values in str
// tries to serialize class B
//print task complete
}
Output :>
java.io.NotSerializableException: Class A
----------------------------------------------------------------
Code :>
Class A {
public string data;
}
Class B implements Serializable{
public ClassA objClassA
public String str
}
Class C {
//set values in str
// tries to serialize class B
//print task completed
}
Output :>
Task complete
Class A {
public string data;
}
Class B implements Serializable{
public ClassA objClassA
public String str
}
Class C {
//set values in objClassA
//set values in str
// tries to serialize class B
//print task complete
}
Output :>
java.io.NotSerializableException: Class A
----------------------------------------------------------------
Code :>
Class A {
public string data;
}
Class B implements Serializable{
public ClassA objClassA
public String str
}
Class C {
//set values in str
// tries to serialize class B
//print task completed
}
Output :>
Task complete
Tuesday, October 12, 2010
Monday, October 11, 2010
Jtest
# For "License Server Host", enter sjc-eng1-lic
# For "License Server Port", enter 2002 (it's the default)
# For "License Server Port", enter 2002 (it's the default)
Subscribe to:
Posts (Atom)