Skip to Main Content

General Development Discussions

Announcement

For appeals, questions and feedback, please email oracle-forums_moderators_us@oracle.com

Text box does not show up in HTML

Bhautesh VedJan 11 2024

I am trying to create a HTML page for my J2EE project. The input text boxes and the Submit button do not show up. I

My code is as follows. I have also attached a snapshot of my HTML page.

<!DOCTYPE html>

<html xmlns:th="http://www.thymeleaf.org">

<head>

<meta charset="UTF-8">

<title>Custom Login Page</title>

</head>

<body>

<h3>My Custom Login Page</h3>

<form action="#" th:action="@{/authenticateTheUser}" method="POST">

<p>

User name:<input:type="text" name="username"/>

</p>

<p>

Password:<input:type="password" name="password"/>

</p>

<input:type="submit" value="Login"/>

</form>

</body>

</html>

Image1.png

This post has been answered by Bhautesh Ved on Jan 11 2024
Jump to Answer
Comments
Post Details
Added on Jan 11 2024
1 comment
31 views