Appendix B. Installing the Oracle XSQL Servlet
This appendix describes how to install the Oracle XSQL Servlet. This servlet can be used with any servlet engine that supports mapping file extensions to a servlet class.
Installing the XSQL Servlet requires just two key steps:
Ensure that the following five archives are added properly to your servlet engine’s CLASSPATH:
oraclexsql.jaroraclexmlsql.jarxmlparserv2.jarclasses111.zip<directory containing XSQL Config.xml file>
Map the
.xsqlfile extension to theoracle.xml.xsql.XSQLServletservlet class.
Any requests made to your web server with the
.xsql file extension will then be processed by
the XSQL Servlet. Note that the .xsql file
extension is purely a convention. You can map any file extension (or
several different extensions) to the Servlet class without problems.
Supported Configurations
The XSQL Servlet is designed to run on any Java virtual machine, using any JDBC driver, against any database. It has been tested against the most popular configurations. In this section, we document the supported configurations.
Supported Java JDK Versions
XSQL Pages and the XSQL Servlet have been tested using:
JDK 1.1.8
JDK 1.2.2
Tip
Numerous users have reported problems using XSQL Pages and the XSQL Servlet with JDK 1.1.7, which suffers problems in its character set conversion routines for UTF-8 that make it unusable for processing XSQL Pages.
Supported Servlet Engines
This XSQL Servlet has been tested with the following servlet engines:
Oracle ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access