Browsed by
Author: priya

Why Calling System.setProperty() does not Affect the Classpath at Run-Time

Why Calling System.setProperty() does not Affect the Classpath at Run-Time

You can easily set any system properties in java using System.setPropoerty method, However it may not have any effect in case of CLASSPATH property. This is mainly because the Java system class loader is initialized very early in the JVM startup sequence. The class loader copies the classpath into its own data structures, and the classpath property is not read again. Therefore changing it after its already copied does not affect anything. There are mainly two reasons for this –…

Read More Read More

Suhasini Mulay

Suhasini Mulay

Suhasini Mulay is known for playing the role of a mother in some famous Bollywood movies like Lagaan: Once Upon A Time In India(2001), Dil Chahta Hai(2001), Humraaz(2002), and Jodhaa Akbar(2008). Mulay started her career with modelling for Pears Soap in 1965 and gained lot of popularity which soon brought her the lead role in Mrinal Sen’s Bhuvan Shome(1969). This movie was a great success and she recieved a National Award for her performance at the age of sixteen. Even…

Read More Read More

How to Read a File from CLASSPATH in Java

How to Read a File from CLASSPATH in Java

This can be done in two simple ways   Using ClassLoader.getResourceAsStream This method can be used to load any file from CLASSPATH InputStream in =this.getClass().getClassLoader().getResourceAsStream(“MyFile.txt”);   Using Class.getResourceAsStream This method can be used to load files using relative path to the package of the class InputStream in =this.getClass().getResourceAsStream(“SomeTextFile.txt”);   This method can also be used to load any files from CLASSPATH by prefixing a “/”

Simone Singh

Simone Singh

Simone Singh, born November 10 in Jamshedpur to a Sikh father and Bengali mother, is an Indian actress. She made her acting debut with the television series Sea Hawks followed by a small role in Swabhimaan, in 1995. She played the title role in another popular television series Heena, which gave her wide recognition and was the highest rated show on Indian Television at the time. Simone soon forayed into Bollywood movies with Ek Rishta: The Bond of Love, in…

Read More Read More

Deepal Shaw

Deepal Shaw

Deepal Shaw began her career as a model, taking part in the 2004 Miss India beauty pageant, advancing to the final round before being cut. After this setback, she rededicated herself to striving for success in the Indian entertainment industry, beginning a career as a singer. She released her first album (entitled Baby Doll, after her adopted stage name) in 2004. She followed up her strong debut with Baby Doll Chapter 2, featuring many hit remixes such as “Kabhi Aar…

Read More Read More

Nisha Kothari

Nisha Kothari

Priyanka Kothari , often credited as Nisha Kothari or Amoga, is an Indian actress and model. She has appeared in Bollywood, Telugu, Tamil and Kannada films. Kothari was born in Majhdia(dist: nadia)Kolkata to a Marwari Jain family and grew up speaking Bengali, Rajasthani, English and Hindi. She moved to New Delhi while in grade 10 and got her degree in Chemistry from Delhi University at Dayal Singh College. Her father is a chemical businessman, her mother a home-maker. After college,…

Read More Read More

Aamna Shariff

Aamna Shariff

Aamna Shariff is an Indian TV/Film actress. She is known mainly for playing the role of Kashish in the popular Star Plus drama Kahiin To Hoga with her co-star Rajeev Khandelwal. She became a household name after the show and her character became a cultural icon. One of the more beautyfull woman in the world. TV career She made her debut in the Balaji Telefilms serial “Kahiin To Hoga” where she acted as the eldest sister in a middle class…

Read More Read More

Yana Gupta

Yana Gupta

Yana Gupta was born in Brno, Czechoslovakia (now the Czech Republic) on 23 April 1979 to a Czech father and an Indian mother and began modelling in the mid-1990s. Her career took a turn towards the east when she married Indian artist Satyakam Gupta in Pune. and changed her last name from Synkova to Gupta. She divorced Gupta in 2005. In 2008 she altered her given name to Yaana. Yaana appeared on numerous magazine covers, including Elle, Cosmopolitan, Femina, and…

Read More Read More

How to give user privilages for a db. Login as root. Switch to the MySQL db. Grant privs. Update privs

How to give user privilages for a db. Login as root. Switch to the MySQL db. Grant privs. Update privs

# mysql -u root -p # mysql -u root -p mysql> use mysql; mysql> INSERT INTO user (Host,Db,User,Select_priv,Insert_priv,Update_priv,Delete_priv,Create_priv,Drop_priv) VALUES (‘%’,’databasename’,’username’,’Y’,’Y’,’Y’,’Y’,’Y’,’N’); mysql> flush privileges; or mysql> grant all privileges on databasename.* to username@localhost; mysql> flush privileges To give user privileges for a specific database in MySQL, you would typically follow these steps: Login as root: Use the mysql command-line tool to log in as the root user, providing the appropriate credentials. bash mysql -u root -p Switch to the MySQL database:…

Read More Read More

Archana Puran Singh

Archana Puran Singh

Archana Puran Singh is most known for comedy roles , and as a judge on comedy shows, like Sony TV India’s Comedy Circus. In Mumbai, she started doing ad-films, and was successful after her most famous ad for Band-Aid. The ad was produced by Jalal Agha, and noticing her talent he cast her in the lead role in his serial, Mr and Mrs. Her next big break came with Pankaj Parasher’s Karamchand. She made her film debut in 1987, in…

Read More Read More