code: public String link(String target, String baseUri) {
  
          if (isNotInitialized()) {
              return getMessage(NOT_INITIALIZED);
          }
          try {
              return CmsJspTagLink.linkTagAction(target, getRequest(), baseUri);
          } catch (Throwable t) {
              handleException(t);
          }
          CmsMessageContainer msgContainer = Messages.get().container(Messages.GUI_ERR_GEN_LINK_1, target);
          return getMessage(msgContainer);
      }
docs: Returns a link to a file in the OpenCms VFS
  that has been adjusted according to the web application path and the
  OpenCms static export rules.<p>
  
  Please note that the target is always assumed to be in the OpenCms VFS, so you can't use
  this method for links external to OpenCms.<p>
  
  Relative links are converted to absolute links, using the current element URI as base.<p>
  
  This is the same as using the <code>&lt;cms:link baseUri=&quot;...&quot; &gt;***&lt;/cms:link&gt;</code> tag.<p>
  
  @param target the URI in the OpenCms VFS to link to
  @param baseUri the optional alternative base URI
  
  @return the translated link
  
  @see org.opencms.jsp.CmsJspTagLink
  @see #link(String)