About Question enthuware.jwpv6.2.1232 :
Posted: Wed Dec 07, 2011 4:01 am
Statement:
CGI programs are language independent but not platform dependent, while servlets are generally only platform dependent.
Explanation to statement:
Though you can write servlets in languages supported by JVM such as Java and Groovy, it is generally not considered language independent. CGI scripts can be written in any language but they are platform dependent i.e. a script written for linux may not work on windows.
In the statement you write CGI programs are not platform dependent. In the Explanation you write CGI scripts are platform dependent.
Whats not right and whats wrong ?
CGI programs are language independent but not platform dependent, while servlets are generally only platform dependent.
Explanation to statement:
Though you can write servlets in languages supported by JVM such as Java and Groovy, it is generally not considered language independent. CGI scripts can be written in any language but they are platform dependent i.e. a script written for linux may not work on windows.
In the statement you write CGI programs are not platform dependent. In the Explanation you write CGI scripts are platform dependent.
Whats not right and whats wrong ?