title: Mobile site prefix and jsf 2
body: <p>How can you implement the common mobile site patterns easily with jsf2? Can i achieve it with prettyfaces?</p>
  
  <p>Basically i want:</p>
  
  <p>m.mysite/index renders mobileIndex.xhtml
  mysite/index renders index.xhtml</p>
  
  <p>I want the "m." prefix specifically and I can't figure out how.</p>
  
  <p>Using primefaces, tomcat7 and prettyfaces. Cheers</p>