solved: helloword tomcat w3schools

2023-07-04 Thread Jim McNamara
Hi guys- I solved the castiing problem with jakarta. The jakarta is used instead of javax now. I needed to update my pom and then run mvn install -U. The servlet runs correctly on tomcat now. thanks all, jim Sent with Proton Mail secure email.

additional pom to go with w3schools helloworld question (formatted)

2023-07-04 Thread Jim McNamara
Hi - Here is my formatted pom. thanks http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd; xmlns="http://maven.apache.org/POM/4.0.0; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance;> 4.0.0 local NewJavaMavenProject NewJavaMavenProject 0.1.0-SNAPSHOT

plaint text version of question: hello world w3schools (tomcat)

2023-07-04 Thread Jim McNamara
Hi- I am resending my msg. in plain text wondering how to get tomcat to render my servlet for hellworld from code I got at w3schools. I am trying to follow the guidelines: TOMCAT 10.1.10 + plain text email! THANKS code and configuration files: import java.io.IOException; import

new user trying to get a sample servlet to run from w3school

2023-07-04 Thread Jim McNamara
Hi- I get the following error msg on tomcat at this URL: http://localhost:8080/examples/HelloWorld I am wondering it seems like I am getting the maven project to build in Moonshine IDE. then I put a new web.xml file in the examples directory in the tomcat server unzipped files. Then, I try to