代码如下:
<%@ page language="java" contentType="text/html;charset=gb2312"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<html>
<head>
<title>cifDemo </title>
</head>
<body>
<%
pageContext.setAttribute("name","James");
%>
<c:if test="${3>2}" var="username" scope="page">
${pageScope.name}
</if>
<c:out value="${pageScope.username}" />
</body>
</html>
出错提示:
org.apache.jasper.JasperException: /9_1/cifDemo.jsp(20,0) Unterminated <c:if tag
各位大大,到底咋回事啊。。。
还有 我下载的jstl里面有15个TLD文件,网上在web.xml里面都是配置8个文件的。
15个文件在在web.xml中怎么配置呢?
<%@ page language="java" contentType="text/html;charset=gb2312" isELIgnored="false">%>
<c:if test="${3>2}" var="username" scope="page">
${pageScope.name}
</if>
结束标记写错了吧
相关问答:
为什么C写的DLL文件C、PB能调用VB不能调用?
VB里为什么有的DLL直接通过引用可以使用?有的需要通过declare申明外部函数?这些DLL有什么差别?
1、为什么PB能通过DECLARE声明而VB不行?
2、如果这个dll中的 ......
#include <stdio.h>
#include <graphics.h>
void main()
{
int x0,y0,x1,y1,driver,mode,i;
driver=VGA;
mode=VGAHI;
initgraph(&driver,&mode,&qu ......
编写程序detab, 将输入中的制表符替换成适当数目的空格,使空格充满到下一个制表符终止的地方。假设制表符终止位的位置是固定的,比如每隔n列就会出现一个制表符终止位。
------------------- ......
C\C++如何计算函数的导数,本人新手,想写个程序,但是不知道如何下手,还望高手指点一二,谢过。
这个……
跟函数的具体形式有关吧,难道你想编出个“万能”的求导函数?
俺上学时想过自动推导公式,后来 ......