I want to open a jsp page without accessing my servlete code. i.e. I neither have to input my url in (action="url") my jsp code nor have to access my Servlete code.
<form id="main" method="post" name="main" action="dpRegPost" onsubmit="return validate();">
Can anyone help me in this?
window.location = "theNewUrl.jsp"
. – Veneer<jsp:forward page="relativeURL" />
Use this action tag to forward the request to another resource it may be a JSP. – Hakon