Jsp 单选按钮未显示在网页中
我试图在jsp表单中添加一些单选按钮。它使用的是SpringMVC架构。对此我是新手 。但添加单选按钮后,网页不会在窗体中显示任何内容。 我的代码有什么问题Jsp 单选按钮未显示在网页中,jsp,spring-mvc,Jsp,Spring Mvc,我试图在jsp表单中添加一些单选按钮。它使用的是SpringMVC架构。对此我是新手 。但添加单选按钮后,网页不会在窗体中显示任何内容。 我的代码有什么问题 welcome <%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%> <%@taglib uri="http://www.springframework.org/tags/form" prefix="form"%> <link rel="s
welcome
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
<link rel="stylesheet" type="text/css" href="styles/job_trigger.css">
<style>
.display TH {
text-align: center;
background-color: #FDEEF4;
font-family: arial;
font-style: normal;
font-size: 14px;
}
.display TD {
font-family: arial;
font-style: normal;
font-size: 12px;
}
</style>
<form:form id="jobTriggerForm" name="jobTriggerForm"
action="jobTrigger.htm" modelAttribute="jobTriggerForm" method="POST">
<div id="jobTriggerDiv">
// Not showing anything in the page after adding the below radio buttons..so i commented
<%-- <table align= 'center'>
<form:radiobutton path="testplan" value="1Hour" />
1 Hour <br />
<form:radiobutton path="testplan" value="4Hour" />
4 Hour <br />
<form:radiobutton path="testplan" value="2day" />
2 Day <br />
<form:radiobutton path="testplan" value="AED" />
AED <br />
<form:radiobutton path="testplan" value="Component" />
Component
</table> --%>
</div>
</form:form>
欢迎您
.显示TH{
文本对齐:居中;
背景色:#FDEEF4;
字体系列:arial;
字体风格:普通;
字体大小:14px;
}
.显示运输署{
字体系列:arial;
字体风格:普通;
字体大小:12px;
}
//在添加以下单选按钮后,页面中没有显示任何内容。因此我发表了评论
eclipse控制台中有错误吗?不是吗?