Advertisement
ainazuu

editTask.jsp

Nov 18th, 2018
120
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.32 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html style="background-color:#ffe6f2;">
  3. <head>
  4. <title>AWESOME TO-DO LIST</title>
  5. </head>
  6.  
  7. <jsp:useBean id="taskbean" class="com.awesometodolistaina.model.TaskBean" scope="session">
  8. </jsp:useBean>
  9.  
  10.  
  11. <form action="action_page.php" style="text-align:center; ">
  12.  
  13. <div class="container" style="text-align:center; border:2px solid black; margin:20px; padding:10%;">
  14. <h1 style="margin:20px;"><b>EDIT TASK</b></h1>
  15. <br>
  16. <label for="task"><b>Task :</b></label>
  17. <input type="text" placeholder="Enter Task" name="task" value="<jsp:getProperty property="taskname" name="taskbean"/>" required>
  18. <br>
  19. <br>
  20. <label for="duedate"><b>Due :</b></label>
  21. <input type="date" placeholder="Enter Due Date" name="ddate" value="<jsp:getProperty property="taskDue" name="taskbean"/>"required>
  22. <br>
  23. <br>
  24. <label for="priority"><b>Priority :</b></label>
  25. <select name="priority">
  26. <option value="<jsp:getProperty property="taskprior" name="taskbean"/>">Low</option>
  27. <option value="<jsp:getProperty property="taskprior" name="taskbean"/>">Medium</option>
  28. <option value="<jsp:getProperty property="taskprior" name="taskbean"/>">High</option>
  29. </select>
  30. <br>
  31. <br>
  32. <button type="submit">Add</button>
  33. <label>
  34.  
  35. </label>
  36. </div>
  37.  
  38.  
  39. </form>
  40.  
  41. <style>
  42.  
  43. </style>
  44. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement