<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2995" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hello,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I need to create an OpenCMS External Link for our
navigation menu to point to another application in the same server, without
specifying the host:port because it must work in different hosts. </FONT><FONT
face=Arial size=2>In a regular html page I can do this with a link of the
form:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2><a href="../myOtherApplication">My
Link</a>.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>and in a regular jsp with:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial
size=2>response.sendRedirect("../myOtherApplication");</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>The trouble is that unless I specifically
include html://myHost:myPort in the External Link, OpenCms insists in
prepending "/opencms/opencms/..." to whatever I put in the Link URL, so it
doesn't work.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Being an EXTERNAL link, shouldn't OpenCms use the
URL as defined, without any change? </FONT><FONT face=Arial size=2>Can someone
suggest how to solve this (other than with an ugly patch in the navigation menu
building code)?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thanks!</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Pere</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV></BODY></HTML>