ALLInterview.com :: Home Page KalAajKal.com
 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                      
Do you have a collection of Interview Questions and interested to share with us!!
Please send that collection to along with your userid / name. ThanQ
Google
 
Categories  >>  Software  >>  Java J2EE  >>  Java Related  >>  Servlets
 
 


 

 
 Core Java interview questions  Core Java Interview Questions
 Advanced Java interview questions  Advanced Java Interview Questions
 Swing interview questions  Swing Interview Questions
 EJB interview questions  EJB Interview Questions
 Servlets interview questions  Servlets Interview Questions
 Struts interview questions  Struts Interview Questions
 JDBC interview questions  JDBC Interview Questions
 JMS interview questions  JMS Interview Questions
 SunOne interview questions  SunOne Interview Questions
 J2EE interview questions  J2EE Interview Questions
 Weblogic interview questions  Weblogic Interview Questions
 Websphere interview questions  Websphere Interview Questions
 Java Networking interview questions  Java Networking Interview Questions
 Java J2EE AllOther interview questions  Java J2EE AllOther Interview Questions
Question
can it possible to validate form field before execution of a
servlet service method if yes how??
 Question Submitted By :: Rakesh Ray
I also faced this Question!!     Rank Answer Posted By  
 
  Re: can it possible to validate form field before execution of a servlet service method if yes how??
Answer
# 1
yes, it is possible. write a javascript method to validate 
input fields and call this method based on event of your 
requirement.
 
Is This Answer Correct ?    2 Yes 1 No
Geetha
 
  Re: can it possible to validate form field before execution of a servlet service method if yes how??
Answer
# 2
Yes,
If it client side validation do with the javascript
if it is serverside validation we can use Filters and do 
the validations there example login authenticated or not
 
Is This Answer Correct ?    4 Yes 0 No
Sekhar Babu
 
 
 
  Re: can it possible to validate form field before execution of a servlet service method if yes how??
Answer
# 3
By using Filters u can also validating the form feilds
 
Is This Answer Correct ?    1 Yes 0 No
Alluri.nagaraju
 

 
 
 
Other Servlets Interview Questions
 
  Question Asked @ Answers
 
what are the disadvantages of cookies?  2
How do you pass the data from one servlet to another servlet? HCL6
Can we use javascript in Servlets? Wipro1
How will you open a new page after certain interval of time (5 sec), on clicking of a button in an html page?  1
How are Sessions are more advantage than using of Cookies or URLReWriting?  2
What is the difference between an applet and a servlet?  8
How to prevent browser from caching the page content?  1
difference between sendredirect,forward and url rewritting TCS3
What are the parameters of the service method ?  2
How to make servlet thread safe?  4
What are the methods in HttpSession and their use?  1
What are the types of ServletEngines?  1
What is servlet tunnelling?  1
What is the difference between ExecuteUpdate and ExecuteQuery?  3
Is the init(ServletConfig sc) throws IOException or not?  3
can we override service method in my servlet class..?? if yes or no why ?? IBM2
What is the use of RequestDispatcher in servlet?  5
Explain the methods in Generic and HTTP Servlets?  1
when you comppile the servlet is it neccesary to restaet the tomcat server? HCL5
where the session data will stored?  1
 
For more Servlets Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com