Bom dia!
Estou tentando fazer um teste com primefaces mobile 0.9.2 e primefaces 3.3, criei uma pagina teste, e adicionei o server jboss 7, porém no browser ao tentar pelo
localhost:8080/mobitsupport/index.jsf ele abre o xml (xhtml) no browser exibe o código fonte.
Bom como sou novato com mobile, pode ser que não esteja usando as ferramentas corretas, Eclispe Indigo Service Release 1, java 6, jboss 7, será que alguém pode me ajudar e orientar se posso testar isto com firefox no meu desktop, se tem que baixar um emulador qualquer, enfim, segue o web.xml e o index.xhtml:
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"
id="WebApp_ID" version="3.0">
<display-name>mobitsupport</display-name>
<context-param>
<param-name>javax.faces.PROJECT_STAGE</param-name>
<param-value>Development</param-value>
</context-param>
<servlet>
<servlet-name>Faces Servlet</servlet-name>
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>*.jsf</url-pattern>
</servlet-mapping>
<welcome-file-list>
<welcome-file>/index.jsf</welcome-file>
</welcome-file-list>
</web-app>
<f:view xmlns="http://www.w3.org/1999/xhtml"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:p="http://primefaces.org/ui"
xmlns:pm="http://primefaces.org/mobile" contentType="text/html">
<pm:page title="Hello World">
<pm:view id="main">
<pm:header title="Header" />
<pm:content>Content</pm:content>
</pm:view>
</pm:page>
</f:view>
Obrigado