[jboss-user] [JBoss Seam] - Paths and web file references

msduk do-not-reply at jboss.com
Wed Nov 1 12:32:06 EST 2006


Hi. In all the examples I have seen hardcoded references to web files
e.g. /seam-booking/images/logo.gif

In other projects on tomcat paths are resolved against the context root so /images/logo.gif would be fine.

How can I achieve the same thing either by having them auto resolve or el referencing the root... something like #{appContext.name}/images/logo.gif? Of course any other methods would be welcome.

Kind Regards,

Mark

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3982418#3982418

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3982418



More information about the jboss-user mailing list