Request.getContextPath() as a sitemap variable?

2001-12-25 Thread Avi Kivity
I'd like to embed some absolute links in my stylesheets, let's say a href=/app/home.html/ However, '/app' is really the web application context path, which is only set at deployment time. Is the context path available to the sitemap, so I can include it like this: map:transform ...

how can a bean access the XML data

2001-12-25 Thread m-rao
Hi, Using Cocoon 1.8 I am calling an xml page. On the click of a button I wish to call a java bean to process the data. How will the bean access the data? In a JSP we do the same using the get-set methods. In XSP how does the bean have access to the data and how should the bean be called