hi! i have a new problem: i use xsp and xsl to generate a page. on this page
i have a table and in some fields, i have to put images. for that, in xsl
file i used:
<img src="/src/web/img/img4.gif"/>. but nothing is displayed. i think that
the problem is from the path. how can i determine the corect path ?

my structure of my application is:
estuff
    -src
        -web
            -xsp
                home.xsp
            -stylesheets
                home.xsl
            -img
                img4.gif

in sitemap.xmap i have :
 <map:match pattern="">
        <map:redirect-to session="false" uri="home"/>
      </map:match>

      <map:match pattern="home">
        <map:generate type="serverpages" src="src/web/xsp/home.xsp"/>
        <map:transform type="xslt" src="src/web/stylesheets/home.xsl">
          <map:parameter name="use-request-parameters" value="true"/>
          <map:parameter name="base-url" value="/estuff"/>
        </map:transform>
        <map:serialize/>
    </map:match>

i accesed the application localhost:8080/estuff
in home.xsl i put <img src="src/web/img/img4.gif"/>
an nothing happens.

anybody could help me?
tks a lot



---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

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

Reply via email to