Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

location.replace in JSP???

Status
Not open for further replies.

MENON

Programmer
Jul 23, 2001
28
US
Hi All,

I am using RequestDispatcher to redirect to another page.
RequestDispatcher.forward(request, response)
This will create a new entry in Browser History. I would like to replace the existing entry.

Is there a window.location.replace equivalent in JSP?

Thanks,
R. Menon
 
Yeah, use javascript in the JSP page to do window.location.replace. This is a client-side function there cannot ever be a server-side equivalent. Wushutwist
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top