Are you saying that you have hard-coded the links within the jsp pages? like this:
<a href="http://192.168.0.10:8080/myContext">click me</a> JM > -----Original Message----- > From: G.L. Grobe [mailto:[EMAIL PROTECTED]] > Sent: Sunday, May 12, 2002 10:08 PM > To: Tomcat Users List > Subject: Re: distributing a WAR w/ hostnames in JSP's > > > I should have given an example. For links I have something like: > > http://192.168.0.10:8080/myContext > > So because of the needed host and port number, I'm not sure how this would > be done. > > ----- Original Message ----- > From: "James Mitchell" <[EMAIL PROTECTED]> > To: "Tomcat Users List" <[EMAIL PROTECTED]> > Sent: Sunday, May 12, 2002 5:02 PM > Subject: RE: distributing a WAR w/ hostnames in JSP's > > > > Use relative links. > > > > JM > > > > Please ignore this if it appears that I did not understand your > question. > > > > > > > -----Original Message----- > > > From: G.L. Grobe [mailto:[EMAIL PROTECTED]] > > > Sent: Sunday, May 12, 2002 2:04 PM > > > To: [EMAIL PROTECTED] > > > Subject: distributing a WAR w/ hostnames in JSP's > > > > > > > > > How do I go about fixing the dependency of having to put in an > ip/hostname > > > in a JSP page which is a link that needs to point to the > server where my > > > clients have installed my web app? > > > > > > In other words, when they browse the web app on this server as I > > > distribute > > > it, its pointing to my machine as tested and am wondering if > > > there's another > > > way to do this rather than have them have to go through the pages > > > and change > > > the links. > > > > > > Any help much appreciated. > > > > > > > > > -- > > > To unsubscribe, e-mail: > > > <mailto:[EMAIL PROTECTED]> > > > For additional commands, e-mail: > > > <mailto:[EMAIL PROTECTED]> > > > > > > > > > > > > -- > > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > > > > > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
