<div dir="ltr" style="text-align: left;" trbidi="on">
<div dir="ltr" style="text-align: left;" trbidi="on">JSTL Redirect tag is used to redirect the request to another resource. The <i><b><;c:redirect>;</b></i> tag redirects the browser to an alternate URL by providing automatically URL rewriting, it supports context-relative URLs, and it supports the <;c:param>; tag.<br />
<b><br />
</b> <b>JSTL <i><;c:Redirect>;</i> Tag Example:</b></p>
<pre class="highlight" name="code"><;%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>;
<;html>;
<;head>;
<;title>;JSTL Redirect Tag Example<;/title>;
<;/head>;
<;body>;
 <;c:redirect url="https://dineshonjava.com">;<;/c:redirect>;
<;/body>;
<;/html>;
</pre>
<p>
As you can see above, JSTL Redirect tag is being used to redirect the request to another resource.</p>
<p> <b>Attributes of JSTL Redirect tag are:</b></p>
<p> <b>1. url:</b> This attribute provides the URL of the resource to redirect to.</p>
<p> <b>2. context:</b> This attribute provides Name of the context when redirecting to a relative URL resource </p>
<p> that belongs to a foreign context.</p></div>
<p></p>
<div style="background-color: pink; border-width: thin; text-align: center;"><b><;<;<a href="https://dineshonjava.com/2013/10/jstl-url-tag.html">Previous</a> <;<; ; ; || <a href="https://dineshonjava.com/2013/10/jsp-standard-tag-library-jstl-tutorial.html">Index </a>||  ; >;>;<a href="https://dineshonjava.com/2013/10/jstl-formatnumber-tag.html">Next</a> >;>;</b></div>
<p>
</div>
<div class="wp-post-navigation"> 
									 <div class="wp-post-navigation-pre"> 
									 <a href="https://dineshonjava.com/jstl-url-tag/">Previous</a> 
									 </div> 
									 <div class="wp-post-navigation-next"> 
									 <a href="https://dineshonjava.com/jstl-formatnumber-tag/">Next</a> 
									 </div> 
									</div>
<script type="text/javascript">
jQuery(document).ready(function($) {
 $.post('https://dineshonjava.com/wp-admin/admin-ajax.php', {action: 'mts_view_count', id: '308'});
});
</script>
Strategy Design Patterns We can easily create a strategy design pattern using lambda. To implement…
Decorator Pattern A decorator pattern allows a user to add new functionality to an existing…
Delegating pattern In software engineering, the delegation pattern is an object-oriented design pattern that allows…
Technology has emerged a lot in the last decade, and now we have artificial intelligence;…
Managing a database is becoming increasingly complex now due to the vast amount of data…
Overview In this article, we will explore Spring Scheduler how we could use it by…