Part of my application compiles into JAR, which contains pages, components, dao services, CSS, javascript and images. When I deploy that JAR, pages, components and DAO's (my custom services) load just fine, but none of the CSS, JS or images load. The setup is as follows:
JAR |_ com.foo.bar |_ META-INF (manifest with Tapestry-Module-Classes inside) |_ resources\ |_ images\ |_ css\ |_ js\ When I use a resource in *.tml I refer to it as so (for example, css): <link rel="stylesheet" media="screen" type="text/css" href="${asset:classpath:resources/css/layout.css}" /> This works without problems when the code is not JARred (runs as a web with its own web.xml). However, when I JAR it and deploy it as sub-app, then all styles, javascript and graphics are gone. According to the logs, the path is: localhost/assets/resources/... What can I be doing wrong? --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]