Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Apache/Jserv directory mapping question
Hi,
I posted this question in other HTML/Apache related NGs but did not get a satisfactory answer. This NG seems very responsive. Can you help?
I Have a beginner directory mapping question. I have a simple HTML page
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE>Collecting Three Parameters</TITLE>
</HEAD>
<BODY BGCOLOR="#FDF5E6">
<H1 ALIGN="CENTER">Collecting Three Parameters</H1>
<FORM ACTION="/servlet/coreservlets.ThreeParams">
First Parameter: <INPUT TYPE="TEXT" NAME="param1"><BR> Second Parameter: <INPUT TYPE="TEXT" NAME="param2"><BR> Third Parameter: <INPUT TYPE="TEXT" NAME="param3"><BR><CENTER>
</BODY>
</HTML>
I am using Apache server. How do I tell Apche where to look for the servlet class file coreservlets.ThreeParams? The class file is located in
d:\oracle\ora92\Apache\Jserv\servlets
I tried setting
ScriptAlias /servlet/ "D:\oracle\ora92\Apache/Jserv/servlets/"
and added
<Directory "D:\oracle\ora92\Apache/Jserv/servlets">
AllowOverride None Options None Order allow,deny Allow from all
in httpd.conf, but it did not work. With Netscape, nothing happens when I click on the submit. With IE, it tries to access d:\servlet/coreservlets.ThreeParams and gives "page can not be opened" error. Any help will be appreciated!
![]() |
![]() |