how to enable javascript at client side when it is disable

Hi All,

Please help me in this topic.......

if the user disable the javascript in his browser then we can't do the client side validation.how can we enable that javascript explicitly at the client browser.

Thanks in Advance.

[250 byte] By [69901a] at [2007-11-27 10:34:38]
# 1

You can't (thank god).

BalusCa at 2007-7-28 18:30:14 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2

I believe the standard policy is to do some basic validation on the client side and full validation (including the basic valdation) on the server side (yes, you are duplicating the validation on the server side that the client side just did). That way, if the browser doesn't do client side validation, the server side validation does it no matter what. It also stops hackers on the client side from altering thier browser side code to get around your client side validation and submit something illegal. Also, the java programmer responsible for writing the business logic on the server now knows the data he receives is valid (its validated by himself). The person who created or updated the JSP page may not know what the business logic expects and may not do validation correctly (he's an expert on GUI, not business logic).

If client side validation fails, the client side code shows an error (does not reload the JSP page). If server side validation fails, either the it reloads the JSP page with an error message, or displays a separate error page.

George123a at 2007-7-28 18:30:14 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...