redirect tag
Tue Feb 28 2023 12:53:09 GMT+0000 (Coordinated Universal Time)
Saved by
@Abhishek_Dubey
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
<c:set var="abc" value="20"/>
<c:if test="${abc>15}">
<c:redirect url="http://www.google.com"/>
</c:if>
<c:if test="${abc<15}">
<c:redirect url="http://www.micromsol.com"/>
</c:if>
</body>
</html>
content_copyCOPY
Comments