|
||||||||
![]() |
|
| Proper Dictories to be chosen first | ||
|
||
| SAFER SIDE | ||
On a Windows 95/98 machine you may see an "Out of Environment Space" error message when starting the server. This is caused by Windows providing too small a space for environment variables. To work around this limitation: Close the DOS window (the error can corrupt its CLASSPATH variable) Open a new MS-DOS window Click on the MS-DOS icon at the top-left of the Window Select the Properties option Click on the "Memory" tab Adjust the "Initial Environment" drop-down box from "Auto" to "2816" Click on OK Start the server |
||
| ENVIRONMENT | ||
|
If you are windows 98 user edit your c:\Autoexec.bat to look something like this
|
||
| STARTING AND SHUTTING DOWN YOUR SERVER | ||
|
||
| Step 6 :: Setting up ODBC | ||
|
If you wish to go further and your Application required you to set ODBC
Click on Start -> Settings -> Control Panel -> Administrative tools -> Data Sources (ODBC) -> User DSN -> Add -> Microsoft Access Driver *.mdb -> Finish
In Data Source name type in Example "shop" -> Select -> Driver D: -> Select the folder
where you have your mdb file in my case d:\tomcat\database\shop.mdb -> Click OK -> OK again -> OK once more
|
||
| Step 7 :: Accessing Your Java Files | ||
|
Now that u have compiled ur index.java file to access the same file open ur internet Explorer
type in http://localhost:8080/examples/servlet/index (REMEMBER NO .java or .class at the END of this Line )
by the way index.java is in my Jewels.zip file |
||
| My Dream to be your Friend and Create a Group of Intelligent and Understanding Programmers | ||
|
||
|
in the United States and other countries. |