tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Mitchell" <jmitc...@telocity.com>
Subject RE: distributing a WAR w/ hostnames in JSP's
Date Mon, 13 May 2002 02:15:46 GMT
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:gary@grobe.net]
> 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" <jmitchtx@telocity.com>
> To: "Tomcat Users List" <tomcat-user@jakarta.apache.org>
> 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:gary@grobe.net]
> > > Sent: Sunday, May 12, 2002 2:04 PM
> > > To: tomcat-user@jakarta.apache.org
> > > 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:tomcat-user-unsubscribe@jakarta.apache.org>
> > > For additional commands, e-mail:
> > > <mailto:tomcat-user-help@jakarta.apache.org>
> > >
> > >
> >
> >
> > --
> > To unsubscribe, e-mail:
> <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> > For additional commands, e-mail:
> <mailto:tomcat-user-help@jakarta.apache.org>
> >
> >
>
>
> --
> To unsubscribe, e-mail:
<mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail:
<mailto:tomcat-user-help@jakarta.apache.org>



--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message