I use JRun4 with IIS 5.0 on win2K
I still get a 403 error message even if my code updated my database
(Oracle)
here's my listing
<%@ page contentType="text/html;" language="java" import="java.sql.*"
errorPage="" %>
<%
// variables
//récupérer les valeurs entrées par l'usager
String password = request.getParameter("password");
String hopital = (String)session.getAttribute("Hopital");
String strlits = request.getParameter("lits");
String login = request.getParameter("username");
int lits;
//connecter la database
Connection conn = null;
Class.forName("macromedia.jdbc.MacromediaDriver");
conn = DriverManager.getConnection(
"jdbc:macromedia:oracle://alpha:1521;SID=maxso",
"system",
"Manager");
Statement updstmt = conn.createStatement();
lits = Integer.parseInt(strlits);
ResultSet updrs = updstmt.executeQuery("UPDATE WEBUSER.TEST SET
FLD_LITS_OCC='" + lits + "' WHERE FLD_HOPITAL='" + hopital + "'");
conn.commit();
conn.close();
%>