I deleted my web\index.html file from my new app, copied over the web\index.html file from my old app and then I rebuilt my new app and installed it. Now my new app is working as expected ! Now I can proceed with the work on my new app. I will look into this strange issue at a future date. Thanks for your assistance.
On Sun, Apr 12, 2020 at 1:07 PM calder <calder....@gmail.com> wrote: > On Sun, Apr 12, 2020, 11:58 Barry Kimelman <crhistopher.p...@gmail.com> > wrote: > > > my system is a windows 10 64 bit laptop. > > I am running tomcat 9 > > Here is the directory of my Java environment > > > > Directory of C:\Program Files\Java > > > > Sat Jan 25, 2020 06:03 AM <DIR> . > > Sat Jan 25, 2020 06:03 AM <DIR> .. > > Tue Jan 01, 2019 03:47 PM <DIR> jdk1.8.0_191 > > Sat Jan 25, 2020 06:02 AM <DIR> jre1.8.0_241 > > > > I can successfully run my old app which I wrote some time ago. However > when > > I try to run my new app > > > What's the difference between "old" and "new"? > > Also, were you running the app on a previous version of Tomcat and / or > Java? > > I just get a blank screen. > > When I check the tomcat log it shows a HTTP status code of 421 > > > > Can you paste the complete stack trace (including any "caused by" > statements) > > > which means > > "misdirected request" (i have never seen this code before while running > my > > tomcat server) > > > > My new app is structured just like my old app. There is an index.html > file > > which automatically redirects to a JSP page. > > > > 1 <html> > > 2 <head> > > > > > > 3 <title>QWLC Data Management/title> > > > > > Missing the left brace for the "title" closing tag > > > 4 <META HTTP-EQUIV="Refresh" CONTENT="3; URL=enter.jsp"> > > 5 </head> > > 6 > > 7 <body> > > 8 If you are looking for the entrance for the qwlc data management, > > you are very close.<br> > > 9 <a href="enter.jsp">Click here to enter the qwlc data > management</a> > > 10 > > 11 <br> > > 12 YOU WILL BE REDIRECTED IN 3 SECONDS - <br>If the redirect does not > > work, > > 13 please click on the link above. > > 14 > > 15 </body> > > 16 </html> > > > > This error occurs no matter which browser I use. When I type "CTRL-U" in > my > > browser to see the HTML code I see the code from my index.html file. I am > > wondering why the redirect did not work for this new app. > > > > One minor difference with what I see from CTRL-U as compared to my old > app. > > In the CTRL-U output in my old app the "enter.jsp" is underlined. > > > > Any ideas as to where I can look for the problem ? > > > > > -- ================== Barry Kimelman Winnipeg, Manitoba, Canada