Skip to content

jsp proj#17

Open
malyniak wants to merge 4 commits into
vasylmalik:masterfrom
malyniak:develop
Open

jsp proj#17
malyniak wants to merge 4 commits into
vasylmalik:masterfrom
malyniak:develop

Conversation

@malyniak

Copy link
Copy Markdown

No description provided.

Comment thread pom.xml
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.target>18</maven.compiler.target>
<maven.compiler.source>18</maven.compiler.source>
<maven.compiler.target>19</maven.compiler.target>

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

use 17

public class InitServlet extends HttpServlet {
@Override
protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
HttpSession currentSession = req.getSession(true);

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

add Logs

int index = getSelectedIndex(req);
Sign currentSign = field.getField().get(index);
if (EMPTY != currentSign) {
RequestDispatcher dispatcher = getServletContext().getRequestDispatcher("/index.jsp");

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

add logs

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.

2 participants