I think you could use the:
 <base href="http://myipnumber/">
tag.
Or you can have a startup parameter.
 
Best wishes,
                Andras. 
 
----- Original Message -----
From: Keith Ball
Sent: Monday, October 11, 1999 11:40 AM
Subject: Setting the HTML Root in servlets....

Hi,
 
How can I set the root in HTML. So that a browser will to look for http://myipnumber/mystyle.css instead of http://myipnumber/servlets/mystyle.css
 
As typing in my address everytime will mean that after devlopment I will have to change all my code and recompile, rather than having a relative address, which will save a lot of time. 
 
An example :
        out.println("<LINK REL=stylesheet HREF=\"http://myipnumber/mystyle.css\" TYPE=\"text/css\">");
Thanks for anyhelp in advance.
 
Keith
---------------------------------------------------------------------------
Keith Ball - Praktikant
AF12 Operationelle  Analysen  Luftwaffe
IABG MbH                 Einsteinstr. 20              85521 Ottobrunn
Phone : 0049-89-6088-2556
Email : [EMAIL PROTECTED]                         WWW site : www.iabg.de
----------------------------------------------------------------------------

Reply via email to