3 Replies Latest reply on Feb 7, 2008 1:00 AM by Daniel Hinojosa

    Getting the web application name dynamically

    wan agus Newbie

      I'm not sure if this is a JSF or Seam question, but does anyone know how I can get my web application name dynamically in my xhtml files?

      For example, I have myapp.war deployed in JBoss and I can access it through http://localhost:8080/myapp/home.seam.

      How do I get the string "myapp" dynamically within my templates?

      Thank you!