单选按钮未显示在网页中

时间:2015-10-29 04:48:49

标签: jsp spring-mvc

我试图在jsp表单中添加一些单选按钮。它正在使用spring mvc架构。对此我不熟悉。

。但是在添加单选按钮后,网页不会在表单中显示任何内容。 我的代码怎么了..

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>

0 个答案:

没有答案