Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_jsp thread: pageContext


Message #1 by Liming Xu <lxu@t...> on Thu, 17 May 2001 12:15:03 -0400
Hello, 

right now, I'm using pageContext.forward().... but the problem is that the
url I need to forward to is an absoulte url, instead of a relative one...
so i have something like
pageContext.forward("http://172.21.1.11/jsp/mypage.jsp")... but the problem
is that pageContext only takes relative path...how do i overcome this
problem???  I don't think i can use sendRedirect since I want to preserve
all the settings in the current page...  Thanks everyone..

and could someone explain the difference between  jsp::foward,
pageContext.forward() and sendRedirect()???

  Return to Index