Using standard URLs is just a guarantee that you will keep having these
sorts of problems.  I use an action to deliver all images, including flash,
or other resources, CSS, etc.  I would suggest you do the same and you will
never have to worry about this recurrent problem again.

On 5/16/06, M.Liang Liu <[EMAIL PROTECTED]> wrote:

Hi,guys!
   I am meeting with a problem when I tried to insert a flash to my
pages.Iuse Tiles plug-in and it works well.
  I put a flash in my header.jsp and the flash can display as expected as
I
typed the very url of this page.But when I put this page in my
layout.jsptiles files,nothing displayed.
  I defined the xml file as following:

> <!DOCTYPE tiles-definitions PUBLIC "-//Apache Software Foundation//DTD
> Tiles Configuration 1.1//EN" "
> http://jakarta.apache.org/struts/dtds/tiles-config_1_1.dtd";>
> <tiles-definitions>
>     <definition name=".main.layout" path="/tiles/layouts/Layout.jsp">
>         <put name="title" value="${title}"/>
>         <put name="menutree" value="/tiles/menutree.jsp" />
>         <put name="header" value="" />
>         <put name="body" value=""/>
>         <put name="footer" value="/tiles/footer.jsp" />
>     </definition>
>     <definition name=".index" extends=".main.layout">
>         <put name="title" value="welcome!!!" type="string" />
>         <put name="header" value="/tiles/header.jsp" />
>     </definition>
> </tiles-definitions>
>
And I opened welcome.do mapping to ".index" and the pages displayed
successfully ,except the flash.

Who can help me?And it is strange,yup?

Beg your pardon for my poor English.

Thanks for reading.




--
"You can lead a horse to water but you cannot make it float on its back."
~Dakota Jack~

Reply via email to