Alan,

On 03.08.2024 17:33, Alan Masters wrote:
Hello,

I am attempting to revise on JSP which I used as a full time developer before my retirement over 8 years ago.

The article How to Call a Java Class in JSP <https://www.javaguides.net/2019/01/how-to-call-java-class-in-jsp.html#google_vignette> provides a simple example of the code, but avoids explaining how to deploy to Tomcat.

I have created a WAR file from this example and attempted to deploy via the "Tomcat Web Application Manager"  which does not work.  I suspect I need a web.xml file, but not clear how that should be organised.
How did you create the WAR file?
Usually you just drop the WAR file into tomcat/webapps and the app will be deployed automatically. If you want to redeploy the app, just overwrite the existing WAR file with the updated one.

Also, what "does not work"? Any errors? Please look into the log files in tomcat/logs.

Sebastian

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to