-
-
-
-
-
-
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.
-
-
-
-
-
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?
-
-
-
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...
-
Is thread concept platform dependent or independent?
Platform dependent.
-
Is garbage collection concept platform dependent/indepentdent?
Platform dependent.
-
-
-
-
What is unary numeric promotion states?
Unary numeric promotion states thatIf the single operand of the operator has a type narrower than int, it is converted to int by an implicit widening primitive conversion; otherwise, it is not converted
Java Interview Questions
Ans