tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 6643] New: - Tom 3.3a or 3.31b1 : URLRewriting POST ==> 404 error
Date Fri, 22 Feb 2002 12:00:09 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6643>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6643

Tom 3.3a or 3.31b1 : URLRewriting POST ==> 404 error

           Summary: Tom 3.3a or 3.31b1 : URLRewriting POST ==> 404 error
           Product: Tomcat 3
           Version: 3.3.1 Beta 1
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Blocker
          Priority: Other
         Component: Servlet
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: zorro.desbois@wanadoo.fr


My environment :
 Tomcat 3.3a (or tomcat 3.3.1b1)
 (with apache 1.3.22/mok_jk/ajp13 or with tomcat:8080)
 Java HotSpot(TM) Server VM (build 1.3.1_02-b02, mixed mode)
 Linux 2.4.16 i686
with URLRewriting :
  <SessionId cookiesFirst="true" noCookies="true" /> and netscape 4.77 don't accept
cookies

I have error :
Introuvabble(404)
Requête originale: /AppliTestServlet/servlet/DisplayArticlesServlet;jsessionid=tsayz1to62

Requête introuvable: /AppliTestServlet/servlet/DisplayArticlesServlet;jsessionid=tsayz1to62


logs =
AppliTestServlet: [info] [tsayz1to62][SupprimerPanierServlet] doPost
AppliTestServlet: [debug]  [SupprimerPanierServlet] version dispatcher, suivant=../servlet/DisplayBagListServlet;jsessionid=tsayz1to62
2002-02-22 12:47:12 - Ctx(/AppliTestServlet) : Class not found: DisplayBagListServlet;jsessionid=tsayz1to62
2002-02-22 12:47:12 - Ctx(/AppliTestServlet) : Status code:404 request:R( /AppliTestServlet
+ /servlet/DisplayBagListServlet;jsessionid=tsayz1to62 + 
null) msg:null

It occurs when I come from a 
POST /AppliTestServlet/servlet/SupprimerPanierServlet;jsessionid=tsayz1to62

and, at the end of this servlet, I do :
  res.setHeader("Pragma","No-cache");
  res.setHeader("Cache-Control","no-cache");
  res.setDateHeader("Expires",0);
// the GET works :
// log(Logger.LOG_DEBUG,"version sendRedirect, suivant="+fenetreSuivante);
// res.sendRedirect(fenetreSuivante);
// the POST fails :
  log(Logger.LOG_DEBUG,"version dispatcher, suivant="+fenetreSuivante);
  req.getRequestDispatcher(fenetreSuivante).forward(req,res);


I thought it was a bug fixed in tomcat 3.3.1 because the release-notes-3.3.1.txt says :
"Fixed logic for response.encodeURL() so that it will work correctly if the input URL includes
an anchor tag"

but in tomcat 3.3.1b1, it is the same problem!!

thanks.
Yo.

--
To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message