Frits Walraven wrote:So, what happens if you go to the following URL in a browser when Tomcat is running?
Frits Walraven wrote:Did you change the link in your HTML file to something simular to the tutorial?
<form method="GET" action="/HelloWorld/hello">
type some text: <input type="text" name="any" />
Frits Walraven wrote:Please post your html file, your web.xml file, and the contents of your war file.
Paul Clapham wrote:The code you posted suggests that MyServletA isn't in a named package. You can't use servlets in the default package, so perhaps you need to fix that.
Frits Walraven wrote:You might want to look at this small tutorial, it is old but still usable: HowToCreateWebApplicationWithoutAnIDE
Nicholas Evans wrote:OK well i ran that command and it didn't change my path, i'm assuming you mean system variables path - when i checked it wasn't updated and there is several things for that variable - see here
C:\Program Files (x86)\Common Files\Oracle\Java\javapath;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Program Files\dotnet\;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;%SYSTEMROOT%\System32\OpenSSH\;
Frits Walraven wrote:what does java -version in a cmd window give you as a result?
You don't need JRE_HOME.
CATALINA_HOME is tomcat's home directory.