tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hugh J. L." <hughj...@yahoo.com>
Subject Is it a bug? A Servlet 2.3 Spec. question about forward.
Date Fri, 02 Apr 2004 02:54:56 GMT
Hi,

****************************************
Description of test case:

In servlet1, use
  getServletContext().getRequestDispatcher().forward()
to forward to servlet2, and in servlet2, call
  request.getRequestURL()

****************************************
Test result:

Tomcat 4.1.30
  return value is url for servlet1
WebLogic 8.1
  return value is url for servlet2

****************************************

In SRV8.4, "The path elements of the request object
exposed to the target servlet must reflect the path
used to obtain the RequestDispatcher."

"path used to obtain the RequestDispatcher" in this
test case is the path for servlet2. Does request url
belongs to those "path elements"?

Thanks.
Hugh


__________________________________
Do you Yahoo!?
Yahoo! Small Business $15K Web Design Giveaway 
http://promotions.yahoo.com/design_giveaway/

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


Mime
View raw message