fix commit

This commit is contained in:
-
2019-04-07 23:06:52 -06:00
parent 5479130178
commit 56aa561d68
6 changed files with 8 additions and 7 deletions
@@ -10,7 +10,8 @@ import javax.validation.constraints.NotBlank;
public class Theorem {
private String theoremName1 ;
private String theoremName2 ;
@NotBlank(message = "Theorem name must not be blank") private String theoremName;
private String theorem;
// @NotBlank(message = "Theorem name must not be blank") private String theoremName;
}
+1 -1
View File
@@ -4,7 +4,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Theroem Page</title>
<title>Theorem Page</title>
</head>
<body>
<form action="" method="post">
+1 -1
View File
@@ -8,7 +8,7 @@
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
<title>$Title$</title>
<title>abc</title>
</head>
<body>
$END$
@@ -40,6 +40,6 @@ public class TheoremEntryControllerTest {
assertNotNull(modelAndView);
assertEquals("Theorem",modelAndView.getViewName());
}
//
}