• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

input validation?

 
lucy hu
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
which two functions may be provided by the client tier of a Java Application architecture?
A Java Applet
B applet viewer
C User interface
D Database access
E input validation
why input validation is provided by the client tier?
Lucy
 
Christophe Testi
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Lucy,
Sometimes to minimize the interactions between the web client and the web container, like for instance sending an http request to validate the data that you just entered in a form (let's say your address), it is better to use for instance javascript do to a first validation pass of your input data.
Does it make sense ?
-Chris
 
sridhar satuloori
Ranch Hand
Posts: 144
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A and C

Originally posted by lucy hu:
which two functions may be provided by the client tier of a Java Application architecture?
A Java Applet
B applet viewer
C User interface
D Database access
E input validation
why input validation is provided by the client tier?
Lucy

 
lucy hu
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Christophe Testi:
Lucy,
Sometimes to minimize the interactions between the web client and the web container, like for instance sending an http request to validate the data that you just entered in a form (let's say your address), it is better to use for instance javascript do to a first validation pass of your input data.
Does it make sense ?
-Chris

good explanation! Thank you. Chris.
sridhar, the answer is C and E, we can use Java Applet in the client tier, but it is not a function, it doesn't fit to the question.
Lucy
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic