According to TLD or attribute directive in tag file, attribute value does not accept any expressions
执行某jsp页面时,弹出如标题所示异常,jsp代码如下:
<%@ page language="java" contentType="text/html;charset=gbk" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">
</head>
<body>
This is the result:
<c:out value="${userInfo}" default="没有结果"/>
</body>
</html>
异常的原因是不能识别“${userInfo}”,解决办法有两种:
一、在page指令里,加入isELIgnored="true"属性,即
<%@ page language="java" contentType="text/html;charset=gbk" isELIgnored="true" %>
二、把<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>变为:
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core_rt" %>
经过改动之后,jsp页面能正常执行了。
相关推荐
Attribute Value Weighting in K-Modes Clustering,何增友,,In this paper, the traditional k-modes clustering algorithm is extended by weighting attribute value matches in dissimilarity computation....
什么是Viewport 手机浏览器是把页面放在一个虚拟的“窗口”(viewport)中,通常这个虚拟的“窗口”(viewport)比屏幕宽,这样就不用把每个网页挤 到很小的窗口中(这样会破坏没有针对手机浏览器优化的网页的布局)...
Laravel开发-entity-attribute-value-model Laravel的实体-属性-价值模型(EAV)
Attribute-Based and Value-Based Clustering An Evaluation
Android中有许多的xml定义文件,比如动画、图形等等。 刚接触android时,看见这些,通常时一头雾水,只有无尽的搜索... 这个文档,对这些xml中的属性进行了一定的整理。可以参考一下。
Instantiate the other Person object with the default constructor (that does not accept any parameters), then set it's attributes via the appropriate setter methods. For each of the Person objects, ...
本文实例讲述了jQuery中[attribute^=value]选择器用法。分享给大家供大家参考。具体分析如下: 此选择器能够选取属性值是以某些值开始的元素。 语法结构: 代码如下:$(“[attribute^=value]”) 参数列表: 参数 ...
主要介绍了jQuery中[attribute=value]选择器用法,实例分析了[attribute=value]选择器的功能、定义及给定属性及属性值元素的使用技巧,具有一定参考借鉴价值,需要的朋友可以参考下
dynamodb-json-翻译器浏览器/节点兼容库,用于将DynamoDB AttributeValue与平面JSON进行包装和解包安装 npm install dynamodb-json-translatornpm test用法Translator.toFlatJSON Translator.toDynamoDBJSON1)从...
However, AODE does not consider the relations between super-parent attribute with other normal attributes. In this paper, we propose a method based on AODE which weighted the relationship between the...
12 Deep Learning Interview questions you should not be missed,深度学习的12个面试问题,分为Part I, Part II, Part III ,by JP Tech。
主要介绍了jQuery中[attribute!=value]选择器用法,实例分析了[attribute!=value]选择器匹配不包含指定属性元素的使用技巧,具有一定的参考借鉴价值,需要的朋友可以参考下
主要介绍了jQuery中[attribute*=value]选择器用法,实例分析了[attribute*=value]选择器的功能、定义及匹配给定的属性包含某些值的元素的使用技巧,具有一定参考借鉴价值,需要的朋友可以参考下
AttributeError: module 'tensorflow.compat.v1' has no attribute 'contrib'的问题您具体怎么解决问题具体解决的seq_loss.py文件
Cadence does not warrant that use of such information will not infringe any third party rights, nor does Cadence assume any liability for damages or costs of any kind that may result from use of such...
l Attribute Value Profiles - Attribute value profiles enable users to see where and how an attribute is used. The profile provides an overview of how attribute values are distributed across the ...
python3 server.py 127.0.0.1 8888 ...AttributeError: module ‘os’ has no attribute ‘exit’ 部分代码入下: from socket import * import sys,os #实现登录 def do_login(s,user,name,addr): for i in user: i
包含2篇attribute高级应用文章,以及相应的代码。 代码关键处,都有详细注释。 看过后,你会对attribute,context有更深刻的认识
Attribute在NET中的应用 讲解在NET中如何自定义自己的特性(Attribute)如何使用
Attribute Aware Pooling for Pedestrian Attribute Recognition