You keep emailing copies to the SiteMesh list
as well as Struts.  Does this mean when you
temporarily remove SiteMesh decorating that
you see the proper path and when SiteMesh
is enabled you see the incorrect path?

Regards,
David

-----Original Message-----
From: Garner Shawn [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 21, 2006 8:07 PM
To: user@struts.apache.org; [EMAIL PROTECTED]
Subject: [Struts 2][Sitemesh] s:url in decorator file and html file


I have a subdirectory with an html file when I click on a link it
takes me to the html file.
A decorator with navigation links decorates the html page.

The navigation links are relative to the current directory instead of
the context path.
I didn't think it was suppose to du this with <s:url action=""/>

It renders the following <a class="sidelink" href="<s:url
action='products' includeParams='none'/>">Products</a> as

<a class="sidelink"
href="/agejsofts2/product/WinemakerTracker/docs/products.action">Products</a
>

when I want:

<a class="sidelink" href="/agejsofts2/products.action">Products</a>

What am I doing wrong?


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

Reply via email to