-
What are the characteristics of cookies?
The following are a list of characteristics of cookies:1.Cookies are only sent back to the server that created them and not to any other server.For example,if a cookie was created by the Web server of www.macromedia.com and sent to the client or the browser,the cookie can be sent back to the same server only.2.Cookies are only used by the server to find out the computer name,IP address or any other...
-
-
-
How do you read MS Word document from Java Servlet
How I can read a MS Word file using Java Servlet, basically I want to read a doc file and then I want to put the data in the database, is it possible, and how?
-
-
-
-
-
Write a program using servlets that will take a numeric input on page named index page, if the input is 1 then page 1 will be displayed and if input is 2 thepage2 will be displayed.
The index page will contain an input field and a button. When the button will be clicked then on the basis of input (1 or 2) the respective page will be opened. The newly opened page i.e. page1 or page2 should display the name of page on it in green color.
-
-
-
-
-
-
-
-
-
What order will the JVM search for classes?
a. lib.jar b. the standard Java class libraries c. the 'current directory' d. c:libsant.jar e. c:libsjavacore.jar Referring to the list above, given the classpath "c:libsant.jar;c:libsjavacore.jar;.", in what order will the JVM search for classes?
-
How to create a singly linked list without using in-built functions?
Write a program in Java that reads a text file, "in.txt", that contains a list of integers separated by spaces. After reading the integers, the program stores them into a singly linked list and prints out the smallest integer in the list using the following recursive algorithm:1. Divide the list into two halves(if the list contains odd number of elements the halves will be of approximately the same...
-
Java Interview Questions
Ans