I am tasked with moving a web application from an OLD OLD Netscape server to Tomcat. Many of the image files in the JSPs are referenced by a path that is set up in a "redirect" to another directory. In the "obj.conf" file for the NS server, it uses a statement like:
I am wondering if there is an equivalent type process in Tomcat or in the web.xml file (which would make it nice to be able to configure for each web app individually or multiple different server types).
I think you'll find it easier to front tomcat with something like the Apache httpd server. You can set it up to redirect URLs and do much more besides.
And if I'm not mistaken, Apache is more like the Netscape server than Tomcat is.
You'll still need Tomcat to handle the JSP and other J2EE stuff, but Apache can forward those requests to Tomcat.
"privilege" comes from the Latin words for "private" and "law" (legal) and dates to feudal times. To "claim privilege" meant that you were above the laws that applied to the common people.
posted 10 years ago
Thanks for the quick reply.
I was sort of hoping that there might have been something in Tomcat that I overlooked and hoping to not have to do that. I'm not in charge of the "server", but will have to ask the "systems" people to set it up with a Apache/Tomcat connector.... in a large company, you have to have all kinds of justification etc etc.... and it may take a month.... but what the hey.... I'm only a consultant.
I've done what you suggest on my personal system and the combination works, getting Tomcat to serve up JSP/Servlets and Apache to server up the static stuff...