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

Home -> Community -> Usenet -> c.d.o.server -> OAS and JWeb

OAS and JWeb

From: slok <slok_at_my-deja.com>
Date: Tue, 31 Aug 1999 14:42:53 GMT
Message-ID: <7qgpla$ml6$1@nnrp1.deja.com>


I have some problem with OAS and JWeb code below. I have my doc root at c:\data\
and listening to port 81
inside contains all html and java class files that I created

I add the following as an application.
and have the virtual path as
/apps/ and pointing to c:\data\ for physical path.

however whenenver my html file which contains a form and a field name "userid", the server will respond to say that it can't service my request at the moment. I'm using HTTP POST method.

what could be the problem here?
is there soemthing wrong with my codes or config. problem?

thanks


import oracle.html.*;
import oracle.owas.wrb.services.http.*;
import oracle.owas.wrb.services.logger.*;

import java.util.*;
import java.io.*;

class login {
  public static void main (String args[]) {     HtmlFile hfile = new HtmlFile("login_results.htm");

    // get data from POST
    HTTP request = HTTP.getRequest();
    String user = request.getURLParameter("userid");     String password = request.getURLParameter("password");

    hfile.setItemAt("userid", new SimpleItem(user));

    hfile.print();

  }
}

Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't. Received on Tue Aug 31 1999 - 09:42:53 CDT

Original text of this message

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