Hi Shashwati,
You may try out this folowing javaScript:(It Tested By Me)
<HTML>
<HEAD><TITLE>Testing back Button</TITLE>
</HEAD>
<%@ page language="java" %>
<BODY>
<Form name="thisform">
<input type=button value="BACK" onClick="goBack()";>
<script language="JavaScript">
function goBack()
{
window.location.href=history.go(-1);
return true;
}
</script>
</form>
</BODY>
</HTML>
With Regards,
-Amit.
============================================
----- Original Message -----
From: Reality Mails <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, June 28, 2000 4:02 PM
Subject: Back Button of Browser
Hi All,
I have a button on a page which I want to have the functionality
like the Back button on the Browsers
Does anyone have the code to be written on the click of this button which
will take it to the previous page ?
Thanks in Advance,
Shashwati
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets