Difference between revisions of "Java"

From HE FAQ
Jump to: navigation, search
m (moved Java and JavaScript to Java: Doesn't mention JavaScript)
 
Line 1: Line 1:
 
{{1 prefix}}
 
{{1 prefix}}
== Can an html and Java script be separated and the script placed in the cgi-bin? ==
+
== Can an HTML and Java program be separated and the script placed in the cgi-bin? ==
  
Unlike CGI scripts which are programs that are run on the server, Java scripts are downloaded by a browser and run on the visitor's machine, which means that Java scripts must be in a place where documents that can be downloaded are put, specifically public_html or subdirectory of public_html.
+
Unlike CGI scripts which are programs that are run on the server, Java programs are downloaded by a browser and run on the visitor's machine, which means that Java programs must be in a place where documents that can be downloaded are put, specifically public_html or subdirectory of public_html.
  
 
== Do you have support for Java on your servers? ==
 
== Do you have support for Java on your servers? ==
  
Yes you can put Java applets on the server but you will have to set the MIME type using the AddType Directive on a .htaccess file.
+
Yes you can put Java applets on the server but you will have to set the MIME type using the AddType Directive in an [[MIME_Types_and_.htaccess | .htaccess]] file.
  
 
== Do you have support for Java Servlets on your servers? ==
 
== Do you have support for Java Servlets on your servers? ==

Latest revision as of 14:49, 6 January 2012

This information only pertains to Hurricane Electric's Shared Web Hosting package. There may be different information in our other categories.

Can an HTML and Java program be separated and the script placed in the cgi-bin?

Unlike CGI scripts which are programs that are run on the server, Java programs are downloaded by a browser and run on the visitor's machine, which means that Java programs must be in a place where documents that can be downloaded are put, specifically public_html or subdirectory of public_html.

Do you have support for Java on your servers?

Yes you can put Java applets on the server but you will have to set the MIME type using the AddType Directive in an .htaccess file.

Do you have support for Java Servlets on your servers?

JSP, Servlets, JavaBeans, etc. are not supported.