Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html style="background-color:#ffe6f2;">
- <head>
- <title>AWESOME TO-DO LIST</title>
- </head>
- <jsp:useBean id="taskbean" class="com.awesometodolistaina.model.TaskBean" scope="session">
- </jsp:useBean>
- <form action="action_page.php" style="text-align:center; ">
- <div class="container" style="text-align:center; border:2px solid black; margin:20px; padding:10%;">
- <h1 style="margin:20px;"><b>EDIT TASK</b></h1>
- <br>
- <label for="task"><b>Task :</b></label>
- <input type="text" placeholder="Enter Task" name="task" value="<jsp:getProperty property="taskname" name="taskbean"/>" required>
- <br>
- <br>
- <label for="duedate"><b>Due :</b></label>
- <input type="date" placeholder="Enter Due Date" name="ddate" value="<jsp:getProperty property="taskDue" name="taskbean"/>"required>
- <br>
- <br>
- <label for="priority"><b>Priority :</b></label>
- <select name="priority">
- <option value="<jsp:getProperty property="taskprior" name="taskbean"/>">Low</option>
- <option value="<jsp:getProperty property="taskprior" name="taskbean"/>">Medium</option>
- <option value="<jsp:getProperty property="taskprior" name="taskbean"/>">High</option>
- </select>
- <br>
- <br>
- <button type="submit">Add</button>
- <label>
- </label>
- </div>
- </form>
- <style>
- </style>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement