Re: config attribute in menu:useMenuDisplayer

Matt Raible <[email protected]>
Newsgroups gmane.comp.java.struts-menu.user
Message-ID <[email protected]>
That should work, since it's more of a JSP feature than a Struts Menu
one.  Are you using Servlet 2.4?  If so, you can probably use
something like this:

src="${pageContext.request.contextPath}/resources/menu/xtree.htm"

Matt

On 11/21/05, Kevin Drennen ([email protected])
<[email protected]> wrote:
>
> Can the config attribute in menu:useMenuDisplayer accept a syntax like
> src="<%= request.getContextPath() + "/resources/menu/xtree.htm" %>">? I am
> having trouble setting this and I need to point to a directory that is
> different from where my menu jsp is located. My jsp is located in
> /pages/tiles vs. the ctree.htm is located in /resources/menu/.
>
> I used config="../../resources/menu/xtree.htm" and that
> worked for Tomcat 5.x but not WAS 6. It gave me an error stating that the
> resource could not be found.
>
> Any help would be appreciative.


-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
Register for a JBoss Training Course.  Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_idv28&alloc_id845&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.