ALLInterview.com :: Home Page            
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
Google
   
 
Categories >> Software >> Java Related >> Java J2EE >> Advanced Java
 
 


 

 
 Core Java interview questions  Core Java Interview Questions (1720)
 Advanced Java interview questions  Advanced Java Interview Questions (331)
 Swing interview questions  Swing Interview Questions (43)
 EJB interview questions  EJB Interview Questions (134)
 Servlets interview questions  Servlets Interview Questions (255)
 Struts interview questions  Struts Interview Questions (195)
 JDBC interview questions  JDBC Interview Questions (187)
 JMS interview questions  JMS Interview Questions (9)
 SunOne interview questions  SunOne Interview Questions (3)
 J2EE interview questions  J2EE Interview Questions (71)
 Weblogic interview questions  Weblogic Interview Questions (145)
 Websphere interview questions  Websphere Interview Questions (14)
 Java Networking interview questions  Java Networking Interview Questions (20)
 Java J2EE AllOther interview questions  Java J2EE AllOther Interview Questions (87)
Question
how can u cal servlet from java?
 Question Submitted By :: Rajukonti
I also faced this Question!!     Rank Answer Posted By  
 
  Re: how can u cal servlet from java?
Answer
# 1
through applet only call servlet
 
Is This Answer Correct ?    7 Yes 10 No
Kanna
 
  Re: how can u cal servlet from java?
Answer
# 2
call the action in form of jsp file 
Is This Answer Correct ?    24 Yes 5 No
Velmurugan
 
 
 
  Re: how can u cal servlet from java?
Answer
# 3
create a HTTPClient object
DefaultHttpClient httpclient = new DefaultHttpClient();
HttpGet httpget = new HttpGet("your servlet");
HTTPResponse response = httpclient.execute(httpost);
 
Is This Answer Correct ?    22 Yes 3 No
Manjul
 
  Re: how can u cal servlet from java?
Answer
# 4
by write some code. 
Is This Answer Correct ?    9 Yes 2 No
Ganesh
 
  Re: how can u cal servlet from java?
Answer
# 5
do some coding on jsp page 
Is This Answer Correct ?    0 Yes 2 No
Rajinder Singh
 
  Re: how can u cal servlet from java?
Answer
# 6
Through the service method can call the servlet 
Is This Answer Correct ?    3 Yes 1 No
Saikumar
 
  Re: how can u cal servlet from java?
Answer
# 7
First write a jsp page.In the form tag of jsp write the
servlet name,then the control automatically goes to the servlet.
Ex: <form name="myform" action="NameOfYourServlet"
method="post/get">
</form>
 
Is This Answer Correct ?    1 Yes 1 No
Sharief
 

 
 
 
Other Advanced Java Interview Questions
 
  Question Asked @ Answers
 
What is an applet?   5
What is a compilation unit?   1
iam writing the contents to a excel through I/O i am putting first statement as WRITE and then READ(from excel) immediately..later user complains that he is not getting the date by using READ ..wat could be the situation iGate 3
Name the method to find, if a thread is active or not?   2
Howmany interfaces are used in RMI?   2
Different between Struts and Spring? or Why use Spring, if you are already using Struts? HP 3
How to do registration form using struts and hibernate?   1
what is a dirty read?   1
What are the states associated in the thread?   3
If i learn Java, what kind of applications can i create that will help Banking, Retail, Hotel, Logistics industry.   2
What is the lifecycle of an applet?   2
difference between applicationserver and webserver SolutionNET 2
 
For more Advanced Java Interview Questions Click Here 
 
 
 
 
 


   
Copyright Policy  |  Terms of Service  |  Articles  |  Site Map  |  RSS Site Map  |  Contact Us
   
Copyright 2013  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  KalAajKal.com