Glyndwr Bartlett

Ranch Hand
+ Follow
since Jul 30, 2018
Merit badge: grant badges
Biography
I am not a programmer. I am learning as I go in order to create an award application for Scouts.
For More
Australia
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
12
Received in last 30 days
0
Total given
29
Given in last 30 days
1
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Glyndwr Bartlett

Hi,

I have been using "org.apache.tomcat.util.codec.binary.Base64". However, this is now deprecated. What is a viable replacement please and is this backwards compatible?

Kind regards,

Glyn
3 weeks ago
Hi,

I have an input element and I want to remove the .error class (to remove the error formatting) and also remove the error message when I click into the input field so I can enter the correct information.

My input field is:

My css is:


My attempt is:


I have attached an image of the error message and the result when I click into the input box.

Kind regards,

Glyn
The answer is:


Specifically: margin: 14px 0;

Kind regards,

Glyn
Hi Tim,

Sorry about that. Yes, my browser is compatible with HTML 5. This is my css, any other css will be from Bootstrap 5:


<!-- Bootstrap -->
   <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css">
   <!-- Bootstrap icons -->
   <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.1/font/bootstrap-icons.css">

Kind regards,

Glyn
Hi Tim,

Thank you. I have deleted the file as suggested.

Kind regards,

Glyn
1 month ago
Hi Tim,

Sorry about that. I am using Bootstrap 5 and HTML 5.

This is the form:


And This is the validate:


Hi,

My error message is displaying on top of the field's label (please see attached image). I would like the error message to appear in the field (i.e., in the input box) under the label or replace the label, which ever is the most appropriate.

css:


html:


Kind regards,

Glyn
I simply re-imported it from the MySQL backup. Seems to have worked.
Hi,

I have migrated my MySQL to MariaDB. The data has gone across however, I have lost all the keys (primary, foreign, etc). Is there a way to recover the keys without having to manually reset them for all 110 tables please?

Kind regards,

Glyn
Hi,

I found the 'war-tracker' in c:\Tomcat_nje\webapps\docs\changelog.html (see line 15):


I am not sure what to do with this.

Kind regards,

Glyn
1 month ago
Hi,

The Classes folder under WEB-INF. My structure is AwardTracker_NJE --> WEB-INF --> classes --> client (contains the views e.g., LoginView).
I do not have a POM.

The latest logs are:

catalina.2024-05-09.log


host-manager.2024-05-09.log - empty

localhost.2024-05-09.log


localhost_access_log.2024-05-09.txt


manager.2024-05-09.log - empty

Also, I can not find any mention of "war-tracker" in the project.

Kind regards,

Glyn
1 month ago
Hi,

Found the issue. The class file is not being copied to the WEB-INF file by InteliJ. I manually copied it over and all works. I will now:
1. Find out how to resolve the InteliJ issue
2. Fix the issue with "war-tracker is not part of Tomcat, so I have to assume that it's part of the webapp. So check the webapp source code. The quick way to do that on Linux and MacOS would be to "cd" to the source directory used to build the webapp and issue the shell command grep -ir tracker.

As I said, it is ABSOLUTELY NOT SAFE for a webapp to play with files in the WAR and if you find that there, you should fix the problem. I can help with that if/once you find it.".

Thank you once again for all your help.

Kind regards,

Glyn
1 month ago
Thank you. The folder was hidden and I have recovered it. I have now placed a series of log messages to help debug and will investigate further. This is a personal project so I only get a small amount of time to spend on it. I will probably get back on the weekend.

Thank you for all your help.

Kind regards,

Glyn
1 month ago
OK, the weirdest thing has now happened. The Tomcat directory has disappeared from my directory. I took a backup before I made the recent changes so I thought I would recreate it. However, when I go to create the folder "Tomcat_nje" I get a system message that the folder already exists. Also, when I run my bat file it still runs, which indicates that the folders must be still there with the ROOT.war. Attached is an image of the folder containing Tomcat and this is my bat:
1 month ago