To use the JDBC thin driver with Mobile Server applets, you will need to accomplish the following tasks.
Upload the Oracle JDBC driver file Classes12.zip to the Mobile Server Repository.
Change the applet tag of the html page to include Classes12.zip in the Archive
tag.
The following sections describe these steps in detail. Topics include:
To upload the Oracle JDBC driver file Classes12.zip to the Mobile Server Repository, perform the following steps.
Start the WSH
tool and enter the following statement to connect to the Mobile Server Repository.
WSH -o mobileadmin/manager@webtogo.world
Note: In the above statementmanager represents the password. |
Start the Command Prompt and enter the following.
WEBTOGO.WORLD:/> cd webtogoWEBTOGO.WORLD:/webtogo>copy %ORACLE_HOME%\jdbc\lib\classes12.zipWEBTOGO.WORLD:/webtogo>exit
To change the applet tag, perform the following steps.
Change the applet tag of the HTML page to include Classes12.zip in the ARCHIVE
tag.
Add the following ARCHIVE
tag to all the HTML pages containing the <APPLET>
tag.
ARCHIVE="/webtogo/classes12.zip"
If the ARCHIVE
tag already exists, you must modify it as follows.
ARCHIVE="/webtogo/classes12.zip, testapp.jar"