Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/amazon-s3/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Jsf 为什么firefox文件下载在Tomcat中运行?_Jsf_Jakarta Ee_Tomcat_Jsf 2_Tomcat7 - Fatal编程技术网

Jsf 为什么firefox文件下载在Tomcat中运行?

Jsf 为什么firefox文件下载在Tomcat中运行?,jsf,jakarta-ee,tomcat,jsf-2,tomcat7,Jsf,Jakarta Ee,Tomcat,Jsf 2,Tomcat7,当我想要运行我的xhtml文件时,firefox文件下载正在Tomcat内部运行。 我该怎么办?请帮帮我。在此页面之前,它运行良好。但是现在firefox文件下载正在eclipse中运行。我不知道我该怎么办。 personel.xhtml <?xml version="1.0" encoding="utf-8" ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.o

当我想要运行我的xhtml文件时,firefox文件下载正在Tomcat内部运行。 我该怎么办?请帮帮我。在此页面之前,它运行良好。但是现在firefox文件下载正在eclipse中运行。我不知道我该怎么办。

personel.xhtml

<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:p="http://primefaces.prime.com.tr/ui"
>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>اطلاعات پرسنلی</title>
</head>
<body>
<h1>اضافه کردن پرسنل جدید</h1>
        <h:form>

            <h:panelGrid columns="6" dir="rtl">
              شماره پرسنلی : 
                <h:inputText id="name" value="#{personelMB.personel_id}" 
                    size="20" required="true"
                    label="id" >
                </h:inputText>
                نام : 
                <h:inputText id="name" value="#{personelMB.pname}" 
                    size="20" required="true"
                    label="Name" >
                </h:inputText>

                 نام خانوادگی: 
                <h:inputText id="family" value="#{personelMB.pfamily}" 
                    size="20" required="true"
                    label="family" >
                </h:inputText> 

                آدرس : 
                <h:inputTextarea id="address" value="#{personelMB.paddress}" 
                    cols="30" rows="10" required="true"
                    label="Address" >
                </h:inputTextarea>


          تلفن:  
                <h:inputText id="tel" value="#{personelMB.pphone}" 
                    size="20" required="true"
                    label="tel" >
                </h:inputText> 
            </h:panelGrid>

            <h:commandButton value="درج اطلاعات" action="#{personelMB.addPersonel()}" />

        </h:form>
</body>
</html>

اطلاعات پرسنلی
اضافه کردن پرسنل جدید
شماره پرسنلی : 
نام : 
نام خانوادگی: 
آدرس : 
تلفن:  

我清理了tomcat目录并解决了它

“firefox浏览器在Tomcat内部运行”是什么意思?@PeterGwiazda,我在上面添加的图片消息,在我运行xhtml文件时出现。