Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Apache/Jserv directory mapping question

Apache/Jserv directory mapping question

From: John <jbradshaw777_at_yahoo.com>
Date: 3 Jan 2003 09:54:33 -0800
Message-ID: <f2f59d82.0301030954.dd1805c@posting.google.com>


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>
    <INPUT TYPE="SUBMIT">
  </CENTER>
</FORM>

</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

    </Directory>

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!

Received on Fri Jan 03 2003 - 11:54:33 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US