-2
How can I include a form in my JSP page with Bootstrap 4. I’ve tried to create a form that follows the bottom around my form but it didn’t work. Or better, how can I use HTML5 only without JSP tags.
<div class="form-group">
</div>
</form>
<form>
<div class="form-group">
<form:form action="${pageContext.request.contextPath}/save"
modelAttribute="employee">
Nome: <form:input path="name" />
<br />
Selecione o Genero: <form:radiobutton path="gender" value="Masculino" />Masculino
<form:radiobutton path="gender" value="Feminino" />Feminino <br />
Departemento:
<form:select path="department">
<form:option value="Support">Support</form:option>
<form:option value="Testing">Testing</form:option>
<form:option value="Development">Development</form:option>
<form:option value="Business Analyst">Business Analyst</form:option>
</form:select>
<br />
Data de Aniversário: <form:input path="dob" type="date" />
<br />
<form:hidden path="id" />
<button type="submit">Salvar</button>
</form:form>
<div class="card text-center">
<div class="card-header">Featured</div>
<div class="card-body">
<h5 class="card-title">Special title treatment</h5>
<p class="card-text">With supporting text below as a natural
lead-in to additional content.</p>
</div>
</div>
</form>
I managed to get @Matheusednei. My question was how to create a form on my page. As I had informed I am already using Bootstrap in my project.
– Patric Enderson