Skip to content

Instantly share code, notes, and snippets.

@Udaypawar004
Last active June 4, 2025 11:59
Show Gist options
  • Save Udaypawar004/f342817d69354cef4a216c4034de659b to your computer and use it in GitHub Desktop.
Save Udaypawar004/f342817d69354cef4a216c4034de659b to your computer and use it in GitHub Desktop.
ShowPage
<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
<%@ page contentType="text/html;charset=UTF-8" %>
<html>
<head><title>Choose Service</title></head>
<body>
<h2>Select Service and Hours</h2>
<form:form method="post" action="helpdesk" modelAttribute="helper">
<table>
<tr>
<td>Service Type:</td>
<td>
<form:select path="serviceType" items="${serviceList}" />
</td>
</tr>
<tr>
<td>No of Hours:</td>
<td><form:input path="noOfHours" /></td>
</tr>
<tr>
<td colspan="2"><input type="submit" value="TotalCost" name="submit" /></td>
</tr>
</table>
</form:form>
</body>
</html>
@Udaypawar004
Copy link
Author

<form:form method="post" action="helpdesk" modelAttribute="helper">













Service Type:
<form:select path="serviceType" items="${serviceList}" />
No of Hours: <form:input path="noOfHours" />

</form:form>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment