[opencms-dev] JSP template and static export link problem
bluey70 at email.com
Wed Jun 18 01:20:02 CEST 2003
This is a problem with jsp templates and relative links.
say the jsp template in:
and a html page /folder1/folder2/index.html uses this template, any relative link in the template is resolved
relative to the template.jsp file rather than the index.jsp.
i.e. an image /folder/images/image.gif referenced in the template gets resolved to:
../../../../folder1/images/image.gif rather than
I think this is a bug?????
> I'm converting my XML templates to JSP templates as recommended but encounter a problem during publishing static HTML pages or doing a static export with the link tag.
> opencms.properties has been configured to use relative links in export.
> For a html file /folder1/folder2/file.html
> XML template uses
> "../folder3/file.b" CORRECT
> My JSP template uses:
> "../../../../folder1/folder3/file.b" WRONG
> Is this a known bug with the new link tag and if so is there a fix or workaround?
> Should I stick with XML templates and abandon the more flexible JSP templates?
> Sign-up for your own FREE Personalized E-mail at Mail.com
> This mail is send to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
Sign-up for your own FREE Personalized E-mail at Mail.com
CareerBuilder.com has over 400,000 jobs. Be smarter about your job search
More information about the opencms-dev