-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Vernon,
> That can solve the problem. However, is it little silly to prefix > ${pageContext.request.contextPath} into every single URLs in the JSP files? It's not silly if that's what you want. Some frameworks provide either JSP taglibs or some other mechanism for essentially allowing the framework to do that work for you. For instance, I use struts and velocity as my framework and content generation tools. The velocity-tools project includes "tools" that allow me to get velocity to work very well with both the servlet container and struts. For instance, many of my links look like this: <a href="$link.setRelative('/relative/path/foo.do')">blah blah</a> The "link" tool knows that it should always put the context path of the currently executing webapp before the relative URI that I gave it. Of course, it has all kinds of other nice things that interact with struts, too, like being able to use named URIs instead of explicit ones, so I can change them in a single place and not have to go changing every file that references it. That was a long way out of the way, but I figured it was worth mentioning. I'm not saying that you should switch to struts or anything like that. I'm just saying that this is the way the servlet world works, and that many frameworks provide tools for getting around the "silliness" you describe. - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFT84e9CaO5/Lv0PARArDRAJ9aTaoR/LSQrSlVXIat9oQLbl7joACgt6SH Gk6ht8ZQqlf5bahCkW3KDCE= =fBO5 -----END PGP SIGNATURE----- --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]