Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

Getting a 4r03 Forbidden error

  Asked By: Sam    Date: Jul 08    Category: Java    Views: 592

I use JRun4 with IIS 5.0 on win2K

I still get a 403 error message even if my code updated my database

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;
conn = DriverManager.getConnection(

Statement updstmt = conn.createStatement();
lits = Integer.parseInt(strlits);
ResultSet updrs = updstmt.executeQuery("UPDATE WEBUSER.TEST SET
FLD_LITS_OCC='" + lits + "' WHERE FLD_HOPITAL='" + hopital + "'");



1 Answer Found

Answer #1    Answered By: Ora Hanson     Answered On: Jul 08

What I understood is that 403 is due to Resource is
not available, regardless of authorization. Often the
result of bad file or directory permissions on the

Please check for all these posibilities.

Didn't find what you were looking for? Find more on Getting a 4r03 Forbidden error Or get search suggestion and latest updates.