-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Carles,
On 9/1/20 14:08, Carles Franquesa wrote: > This message is a reply to those that asked me for uploading a > simple version of my webapp reproducing the problem of not finding > classes when a JSP is inside a subfolder, thus not hanging directly > from web root directly. > > I have slimmed down the code as much as possible. You'll see is > almost nothing. > > algorismes.zip > <https://drive.google.com/file/d/1RUanXza2wjCBQimjum-LlbGNaYP6vs4O/vie w?usp=drive_web> > > > > So, the project's became very simple, but the problem is there: > > Built with NetBeans 8.0.2 on Windows 10 Tested on local host (so > tomcat running on windows), it works My VPS holds a public web > domain called algosismes.cat. Tested on my VPS, it depends. > > Once deploy's done with tomcat 8.5.57 manager app, clicking on its > list of sites, it works, since the browser is connecting to the > ip:port/algorismes. > > Setting directly "algorismes.cat" in the browser url, the error is > found. Just click to go to the level2.jsp. > > Lervel2.jsp is a blank page that just declares ann object of class > Student to show the problem. > > Anybody can explain to me what am i doing wrong? The ZIP file does not contain a build web application. Can you publish your WAR file instead of mixed source/resources? It's pretty important how you build the WAR, which is why I'm asking for it. - -chris -----BEGIN PGP SIGNATURE----- Comment: Using GnuPG with Thunderbird - https://www.enigmail.net/ iQIzBAEBCAAdFiEEMmKgYcQvxMe7tcJcHPApP6U8pFgFAl9OkbIACgkQHPApP6U8 pFg7dg/6AmyQSP5Xuz8p8gwgyvZ5Sysn7oa+7TNqRQ0Q5PGdEC+7AbIb9B8k99cB ESzJIH5k7AeacTFmhwlUxEs76slnpn/MshYLhfpWXjcYEDcnKA+Q5vBIKQiEzbGP PsGS8lHJzSHgBM0XDjxIrnMKjSgWGIVeibiSecHv10DayUC/jY6HohSqexdZtGk4 dTH8LrUdAvbIhNp0CaT1CNlE0MaMu80tJJs1ENETlHYesywx1OVMIPE+GcPC/EC3 jEyBHEXTgvUWBXWh2xom8Jb70gvaSXr6Q3f2C9OgOWZcVB8e/3y6pLwc82AawHoq tkr69sjOqUgp/EqUsFatD+8xUtly6ip14pzW5+8dCWBvNQYQiAgzRcP85SNBsTN6 +bThfsD29aMNZ0nRYYELihq0RprG+gNgU6wLqeM5g7VpOi2D9EqCJMLOR47XzHAQ aiaTHhao2r2Z+tzl0BlYfsVws08SL+lLkUxlHF0g3obigRg8DXE7ouOam4w4SB54 bbjHldgvAvRGahsbHNmUBh4tsh53mFud+OuFMgDw8g5urV+FqAqlviktDsGolVwv C8yUkMUOklx/R5uPKCIoxTnkl0nV5fUd90YdpkKPg7bnd3XHBrauRlEyrZUk34Oo Kt0LmpyiolI+eYL4ZdwMqDQLNjx8jTQTiGqn+stgOf3PvdzMjFU= =ZVdV -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org