Download FAQ History |  | API Search Feedback

> ## Using Scripting

> JSP technology allows a container to support any scripting language that can call Java objects. If you wish to use a scripting language other than the default, `java`, you must specify it in the `language` attribute of the `page` directive at the beginning of a JSP page:

>     <%@ page language="scripting language" %>

> Since scripting elements are converted to programming language statements in the JSP page's servlet class, you must import any classes and packages used by a JSP page. If the page language is `java`, you import a class or package with the `import` attribute of the `page` directive:

>     <%@ page import="fully_qualified_classname, packagename.*" %>

> The `webclient` JSP page `response.jsp` imports the classes needed to access the JAX-RPC stub class and the Web service client classes with the following `page` directive:

>     <%@ page import="javax.xml.rpc.Stub,webclient.*" %>

Download FAQ History |  | API Search Feedback

All of the material in The Java(TM) Web Services Tutorial is copyright-protected and may not be published in other works without express written permission from Sun Microsystems.