Skip to content
This repository has been archived by the owner on May 31, 2024. It is now read-only.

Commit

Permalink
fix logic for name product input
Browse files Browse the repository at this point in the history
  • Loading branch information
bakaqc committed Mar 7, 2024
1 parent 48214f5 commit a625894
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ protected void doPost(HttpServletRequest request, HttpServletResponse response)
return;
}
Integer idP = Integer.valueOf(pId);
String productName = request.getParameter("productName");
String productName = request.getParameter("productName").trim();
String productDescription = request.getParameter("productDescription");
String productPrice = request.getParameter("price");

Expand Down

0 comments on commit a625894

Please sign in to comment.