Home > Back-end >  JSP file forEach cannot control set output can show the content
JSP file forEach cannot control set output can show the content

Time:11-17


& lt; % % @ page isELIgnored="false" & gt;





<% @ page import="com. Edo. TAB. Edo_students" % & gt;
<% @ page language="Java" contentType="text/HTML. Charset=utf-8 "
PageEncoding="utf-8" % & gt;
<% @ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" % & gt;

<% % @ page isELIgnored="false" & gt;


<meta charset="utf-8" & gt;
List
<style type="text/CSS" & gt;
Table {
Width: 600 px;
The line - height: 30 px;
text-align: center;
Border: # 1 px solid CCC;
Border - the collapse: the collapse;
}

Td {
Border: # 1 px solid CCC;
Border - the collapse: the collapse;
}
</style>

<body>
















ID Name & lt;/td>
Gender & lt;/td>
Age & lt;/td>
Entry time & lt;/td>









CodePudding user response:

You have to add this:
<% @ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" % & gt;

CodePudding user response:

Learn the words now? The writing of the feeling is N years ago,

CodePudding user response:

@ small bligh rabbit is that with what now? To learn...

CodePudding user response:

C label is really old, basically the previous project maintenance use,
Front end, learning vue, the bootstrap can, basic knowledge of js, CSS to learn, especially js,

CodePudding user response:

Latest JSTL stay on for 2011 years, nine years is not updated, page can now considering ThymeLeaf, Freemarker template engine, if the front end complete separation can be upstairs and said those things,

CodePudding user response:

The other, add operation does not need parameters, are out of place in the tr, are generally from the top of the header button alone,

CodePudding user response:

refer to the second floor small bligh rabbit replies:
words still learn this now? Feeling is written many years ago,

To learn ah, the JSTL and el is ancient programming file, also learn in our school, monthly exam last month is the add and delete items,

CodePudding user response:

refer to 7th floor mysterious small peak response:
Quote: refer to the second floor small bligh rabbit replies:
words still learn this now? Feeling is written many years ago,

To learn ah, the JSTL and el is ancient programming file, also learn in our school, monthly exam last month is the add and delete items,


The difficulty of this specification to be scrapped? On the second floor can say which JSR el belongs to? Estimates that there are now many projects still run in jdk5 or below, are now jdk15

CodePudding user response:

The JSP page in the use of EL expression implementation time format conversion

<% @ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="FMT" % & gt;

"& lt; FMT: formatDate value="https://bbs.csdn.net/topics/${data. GetStartDate ()}" the pattern="MM - dd yyyy - HH: MM: ss"/& gt;"
Id="StartDate" lay - verify="required" autocomplete="off"/& gt;

  • Related