Advertisement



< Prev
Next >



JSP forward action





JSP Action tags allow you to perform some actions on a JSP page and this action could be - Let us discuss the first JSP action tag, <jsp:forward>




<jsp:forward> Action Tag


JSP provides an action element, <jsp:forward>, which you can use to forward the HTTP requests to another page.


Advertisement




Syntax of <jsp:forward>



 <jsp:forward page="URL" >  
<param name="parameterName1" value="valueOfParameter" > 
<param name="parameterName2" value="valueOfParameter" > 
...
 </jsp:forward> 





An example of using the <jsp:forward> action


In the upcoming example, we are going to forward the client request to another web page using the shortcut syntax of <jsp:forward> action, such as -

 <jsp:forward page="URL" /> 







Please share this article -




< Prev
Next >
< JSP taglib Directive
JSP include Action >



Advertisement

Please Subscribe

Please subscribe to our social media channels for daily updates.


Decodejava Facebook Page  DecodeJava Twitter Page Decodejava Google+ Page




Advertisement



Notifications



Please check our latest addition

C#, PYTHON and DJANGO


Advertisement