![]() |
| Home | Tech FAQ | Interview Questions | Placement Papers | Tech Articles | Learn | Freelance Projects | Online Testing | Geeks Talk | Job Postings | Knowledge Base | Site Search | Add/Ask Question |
![]() Related Questions A JSP page is opened in a particular Session. A button is present in that JSP page onclick of which a new Window gets opened. (a) The Session is not valid in the new Window (b) The Session is valid in the new Window Which of the following JSP expressions are valid ? (a) <%= "Sorry"+"for the"+"break" %> (b) <%= "Sorry"+"for the"+"break"; %> (c) <%= "Sorry" %> (d) <%= "Sorry"; %> (d) Latest Answer : The answer is all of the above, Stateful session beans contain Home interface, Remote interface, Bean class ... Latest Answer : Life Cycle of Session Bean is: public void Create() public void ejbActivate () public void ejbPassivate () public void remove () public void setSessionContext ( SessionContext ... Latest Answer : I think newInstance() see the below linkhttp://www.unix.org.ua/orelly/java-ent/ebeans/ch07_02.htm ... In a JSP page, a statement is declared as follows: <%! String strTemp = request.getParameter("Name"); %> And below that, an expression appears as: <% System.out.println("The Name of person is: "+strTemp); %> What is the output of this expression, if this JSP page is invoked in browser using URL : http://localhost:8080/JSP/TrialPage.jsp?Name=Chetana (Assume that this URL is correct) (a) The Name of person is: Chetana (b) The Name of person is: (c) The Name (a) 1.What will be the output?boolean a = false if (a=true){ System.out.ptinln("Hello");}else{ System.out.ptinln("GoodBye");}2. Hashmap , hashset , ArrayList(true, true, false)3.Which need Latest Answer : answer is true ... Read Answers (2) | Asked by : Vartika
Sponsored Links
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||