L
loskiller
Unregistered / Unconfirmed
GUEST, unregistred user!
<%@ taglib prefix="c"
uri="http://java.sun.com/jsp/jstl/core"
%>
<html>
<c:choose>
<c:when test="${param.portchoice == 'news'}">
<head><title>News Portal</title></head>
<body>
<h1>Welcome to the News Portal!</h1>
</body>
</c:when>
<c:when test="${param.portchoice == 'weather'}">
<head><title>Weather Portal</title></head>
<body>
<h1>You Get the Latest Weather!</h1>
</body>
</c:when>
<c:when test="${param.portchoice == 'entertainment'}">
<head><title>Entertainment Portal</title></head>
<body>
<h1>Entertainment News Just for You!</h1>
</body>
</c:when>
<ctherwise>
<head><title>System Portal</title></head>
<body>
<h1>Application logic problem detected!</h1>
</body>
</ctherwise>
</c:choose>
</html>
上面的代码使用了标志库,请问uri="http://java.sun.com/jsp/jstl/core"是什么意思,是不是可以随便乱写的,还是有什么规定的?
uri="http://java.sun.com/jsp/jstl/core"
%>
<html>
<c:choose>
<c:when test="${param.portchoice == 'news'}">
<head><title>News Portal</title></head>
<body>
<h1>Welcome to the News Portal!</h1>
</body>
</c:when>
<c:when test="${param.portchoice == 'weather'}">
<head><title>Weather Portal</title></head>
<body>
<h1>You Get the Latest Weather!</h1>
</body>
</c:when>
<c:when test="${param.portchoice == 'entertainment'}">
<head><title>Entertainment Portal</title></head>
<body>
<h1>Entertainment News Just for You!</h1>
</body>
</c:when>
<ctherwise>
<head><title>System Portal</title></head>
<body>
<h1>Application logic problem detected!</h1>
</body>
</ctherwise>
</c:choose>
</html>
上面的代码使用了标志库,请问uri="http://java.sun.com/jsp/jstl/core"是什么意思,是不是可以随便乱写的,还是有什么规定的?