Home > Back-end >  Why not output JSP page c label but output variable name???????
Why not output JSP page c label but output variable name???????

Time:09-21

The content is the background variables over

<% @ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" % & gt;
<% @ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="FMT" % & gt;
<% @ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" % & gt;
<% @ the include file="../../basePath. JSP "% & gt;
Page output for: ${content_var}
Please give directions

CodePudding user response:

Not clear version? I specifically looked at TLD also define ah
 & lt; Tag> 

Like & amp; lt; %=... & gt; , but for expressions.

Out
Org, apache taglibs. The standard. The tag. Rt. Core. OutTag
<body - content> JSP


Expression to be evaluated.

Value
True
True//support el



The Default value if the resulting value is null.

Default
False
True



Determines been characters & amp; lt; , & amp; gt; , & amp; amp; , ', "in the
The resulting string should be converted to their
Corresponding character entity codes. The Default value is
True.

EscapeXml
False
True


But if you want to output also don't have to out direct ${content_var}

CodePudding user response:

Long time no use JSP, but literally
Var is a variable name, the value is the value, so try,

CodePudding user response:

Long time no use JSP, but literally
Var is a variable name, the value is the value, so try,

So,,,,,,,,,,,,,,,,,,

CodePudding user response:

Check the content have no value? So why not just output and define a variable?

CodePudding user response:

CodePudding user response:

Without direct output to introduce variable because to split the content of the content, traverse, judgment, branch output

CodePudding user response:

{{a}} & lt;/p> The output is empty,

The ${a} & lt;/p> Output ${a},

  • Related