基础问题求帮助_html/css_WEB-ITnose

WBOY
Release: 2016-06-21 09:34:38
Original
840 people have browsed it

<body><form action="tweet" method="post"><p>姓名: <input type = "text" name = "content" /><p><p>Email:<input type="text" name="content2" /><p><p><input type = "submit" value = "tweet" /></p></form><hr /><c:forEach var="e" items="${tweetList}" >${f:h(e.content)}<hr /></c:forEach></body>
Copy after login
Copy after login


请教下:现在可以输入名字然后在服务器上显示,追加个Email后
想把Email的input输入的内容表示出来如何修改,现在只能表示名字的。
Email的内容无法显示,例如
姓名:Email地址 一起表示
~~~~~



回复讨论(解决方案)

补充

<body><form action="tweet" method="post"><p>姓名: <input type = "text" name = "content" /><p><p>Email:<input type="text" name="content2" /><p><p><input type = "submit" value = "tweet" /></p></form><hr /><c:forEach var="e" items="${tweetList}" >${f:h(e.content)}<hr /></c:forEach></body>
Copy after login
Copy after login

这段

${f:h(e.content)}

可以输出姓名,还想输出输入的email改如何添加


${f:h(e.content)}
${f:h(e.content)2}





这样就ok

抱歉是
${f:h(e.content2)}

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template