Matts ha scritto:
Layout1(at web-inf/tiles):
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>

<%@ taglib uri="http://struts.apache.org/tags-tiles";
prefix="tiles" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<HTML>

<HEAD>

<TITLE><tiles:getAsString name="title"/></TITLE>

<html:base/>

Hehe! I (think I) got it!
This is the "infamous" <html:base /> tag that, with Tiles, uses your layout JSP page as the base path, I still don't know why. (Just check your produced HTML and look at the <base> tag). In these cases I suggest to remove the <html:base/> tag and use only relative paths.

HTH
Antonio

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to