Skip to content

Conversation

@PeterBozhko
Copy link
Contributor

No description provided.

<url-pattern>/add</url-pattern>
</servlet-mapping>

<servlet>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Possible simplification: All these descriptions could be replaced by @WebServlet("/YOUR_PATH") annotation above the Servlet class (import javax.servlet.annotation.WebServlet.


<div class="container signin">
<p>Already have an account? <a href="#">Sign in</a>.</p>
<p>Already have an account? <a href="/singin">Sign in</a>.</p>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please implement the POST method for Sign-in servlet or put a mock-up (fake until you make it).

<label for="email"><b>Email</b></label>
<input type="text" placeholder="Enter Email" name="email" required>
<label for="username"><b>Username</b></label>
<input type="text" placeholder="Enter uername" name="username" required>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please fix typo in the placeholder

<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
<title>Регистрация</title>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please be consistent with the used language (don't mix Russian and English).

All the fields that are language-sensitive can be set up using different locales. Since the project doesn't provide the "language change" option, it would be better to stick with only one language.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants