lien html relatif avec tomcat
bonjour,
j'utilise tomcat 5.5 et struts.
dans 1 page j'utilise un lien :
Code:
1 2
| <li class="style4"><a href="index.jsp" class="style4">Accueil</a></li>
<br /><br /> |
normalement j'accède au site par l'adresse :
http://127.0.0.1:8080/xxxx/index.jsp
mais par le lien, dans IE, tomcat? interprète
http://www.xxxx.com/index.jsp
mon fichier server.xml :
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14
| <Server port="8005" shutdown="SHUTDOWN">
<Service name="Catalina">
<Connector port="8080" />
<!-- This is here for compatibility only, not required -->
<Connector port="8009" protocol="AJP/1.3" />
<Engine name="Catalina" defaultHost="127.0.0.1">
<Host name="127.0.0.1" appBase="webapps" />
</Engine>
</Service>
</Server> |
====================
ou va t'il récupérer le http://www.xxxx.com/index.jsp?