Browsed by
Category: Blog

Siddharth Malhotra

Siddharth Malhotra

Siddharthi’s career began at age 16, when he was discovered by a modeling agent in India while sitting in a caf’. From the School Days Siddharth was Interesting in Acting. He left studies due to modelling. At the age of 19, he entered in Mr.Gujarat pageant in 2007 along with 19 competitor and won that. In the same year he applied for Gladrags Mega-model & Manhunt and got selected for the final pageant. He performed well through the pageant series…

Read More Read More

How do you pass data (including JavaBeans) to a JSP from a servlet?-

How do you pass data (including JavaBeans) to a JSP from a servlet?-

?– (1) Request Lifetime: Using this technique to pass beans, a request dispatcher (using either “include” or forward”) can be called. This bean will disappear after processing this request has been completed. Servlet: request. setAttribute(”theBean”, myBean); RequestDispatcher rd = getServletContext(). getRequestDispatcher(”thepage. jsp”); rd. forward(request, response); JSP PAGE:<jsp: useBean id=”theBean” scope=”request” class=”. . . . . ” />(2) Session Lifetime: Using this technique to pass beans that are relevant to a particular session (such as in individual user login) over a…

Read More Read More

What value does read() return when it has reached the end of a file

What value does read() return when it has reached the end of a file

The read() method returns -1 when it has reached the end of a file. In Core Java, the read() method of the InputStream class returns an integer value. When it reaches the end of a file, it typically returns -1 to indicate the end of the stream. Here’s a simple example: java import java.io.FileInputStream; import java.io.IOException; import java.io.InputStream; public class ReadFileExample { public static void main(String[] args) { try (InputStream inputStream = new FileInputStream(“example.txt”)) { int data; while ((data = inputStream.read()) != -1) {…

Read More Read More

Under what conditions is an object’s finalize() method invoked by the garbage collector

Under what conditions is an object’s finalize() method invoked by the garbage collector

The garbage collector invokes an object’s finalize() method when it detects that the object has become unreachable. In Java, the finalize() method is a method of the Object class, and it is called by the garbage collector before an object is reclaimed (garbage collected). However, there are no guarantees about when the finalize() method will be called or whether it will be called at all. The Java documentation explicitly states that it is typically not recommended to rely on finalize() for resource…

Read More Read More

Mandira Bedi

Mandira Bedi

Mandira Bedi has stared her career from a TV soap called “Shanti”. She was doing the lead role in it. She has debut in film industry as a supporting Actress from Dilwale Dulhania Le Jayenge. Then again she done a TV Soap in which she had done a negative role “Kyo Ki Saas Bhi Kabhi Bahu thi”. Mandira Bedi’s Glamour’s image was noticed when joined the ‘Extraa Innings’. Mandira Bedi the ?noodle strap? fame of Extraa Innings on Sony Max….

Read More Read More

How do you Pass Control From One JSP Page to Another

How do you Pass Control From One JSP Page to Another

Use the following ways to pass control of a request from one servlet to another or one jsp to another. First is RequestDispatcher object‘s forward method to pass the control. Second is response.sendRedirect method. In Advanced Java, when you want to pass control from one JSP (JavaServer Pages) page to another, you typically use mechanisms like: Request Dispatching: You can use RequestDispatcher to forward or include the content of another JSP page. The RequestDispatcher is obtained from the ServletRequest object….

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

Roopa Ganguly

Roopa Ganguly

Roopa Ganguly or Rupa Ganguly is an Indian actress and National Film Award Winning female playback singer in the Hindi and Bengali language film industry, as well as television. She became popular after playing Draupadi in the hit Television series Mahabharat (1988), and in film is most known for her roles in films like Padma Nadir Majhi (1993) by Gautam Ghose, Yugant (1995) by Aparna Sen, and Antarmahal (2006) by Rituparno Ghosh. Roopa Ganguly debuted in the Anil Kapoor starrer,…

Read More Read More

Rahul Roy

Rahul Roy

Rahul began his acting career in the 1990 film Aashiqui, a Mahesh Bhatt production as the lead actor with newcomer Anu Agarwal. The film was a hit and made him a popular actor and was the reason, he is known for. He was one of the first ever Hindi film actors who fashioned the long hair. Aashiqui turned Rahul Roy into an icon for the youths. His good looks, coupled by his trend setting way of dressing turned him into…

Read More Read More

Rahul Bose

Rahul Bose

Rahul Bose’s tryst with acting began when he was six years old and was part of a school play Tom, The Piper’s Son. He was also part of plays like Topsy Turvy and Tim Murari’s The Square Circle. He appeared in many non commercial arty movies and has also been seen in mainstream cinema. His first movie was Dev Benegal’s English August (1994). It was based on a novel by Upamanyu Chatterjee and Bose played the character Agastya Sen. It…

Read More Read More