On Tuesday 30 November 2004 17:03, Guy Katz wrote: > in tomcat, in a shared environment you still get your own 'host' > element so taht you can map your domain (www.yourdomain.com) to your > application. if those guys in your hosting company know what they are > doing, you will have this options also. this is kind of basic stuff. > if they cant do it. i would suggest to find someone who can...
Same is possible in Resin, but many providers don't know how to handle it right. If nothing helps, I'd put an index.jsp into the root | base directory that just forwards to the 'default' application: <%@ page contentType="text/html; charset=ISO-8859-1" session="false" %> <jsp:forward page="/war_file_name/index.jsp" /> At later stages, the exact context may show up in the address line, but who really cares (you can always rename the context to something more fitting like 'enterprise', 'cms' or 'gateway'). Anyway, the important first page will not only be automatically | transparently invoked, but search bots will directly relate the sub-context contents to your primary domain. HTH, -- Chris (SCPJ2) > -----Original Message----- > From: A mailing list about Java Server Pages specification and > reference [mailto:[EMAIL PROTECTED] Behalf Of Ming > Sent: Tuesday, November 30, 2004 5:27 PM > To: [EMAIL PROTECTED] > Subject: Re: URL mapping ... > > > Thanks for the reply, Guy. But I'm in a shared environment running > Resin and the support staff doesn't want to make configuration > changes for just one customer... > > Is there any other way to solve the problem? =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant archives, FAQs and Forums on JSPs can be found at: http://java.sun.com/products/jsp http://archives.java.sun.com/jsp-interest.html http://forums.java.sun.com http://www.jspinsider.com