A = HARDWORK B = LUCK/FATE If C=(A+B) then C=SUCCESSFUL IN LIFE else C=FAILURE IN LIFE
SCJP 1.4
Merrill
Consultant, Sima Solutions
here the validations are done using taglibs in servlet not in the jsp file
Merrill
Consultant, Sima Solutions
A = HARDWORK B = LUCK/FATE If C=(A+B) then C=SUCCESSFUL IN LIFE else C=FAILURE IN LIFE
SCJP 1.4
Originally posted by Stefan Evans:
The #1 rule when writing web application is never trust the client.
Always validate the input you are receiving at the server end.
Javascript can be spoofed, disabled or even completely bypassed (hey all I need to do is type a url into my browser)
Your application should ALWAYS validate on the server side.
You application MAY also do validation on the client in javascript. This may improve the user experience, by saving some round trips to the server.
However you STILL do server side validation, even if you have validated in javascript.
In my experience the validation of parameters is never the bottleneck, unless you have some awful validation code running.
Cheers,
evnafets
A = HARDWORK B = LUCK/FATE If C=(A+B) then C=SUCCESSFUL IN LIFE else C=FAILURE IN LIFE
SCJP 1.4
A = HARDWORK B = LUCK/FATE If C=(A+B) then C=SUCCESSFUL IN LIFE else C=FAILURE IN LIFE
SCJP 1.4
An elephant? An actual elephant. Into the apartment. How is the floor still here. Hold this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
|