Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/google-app-engine/4.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
Java req.getRequestDispatcher(“file.html”)。包括(req,resp);_Java_Google App Engine_Servlets_Requestdispatcher - Fatal编程技术网

Java req.getRequestDispatcher(“file.html”)。包括(req,resp);

Java req.getRequestDispatcher(“file.html”)。包括(req,resp);,java,google-app-engine,servlets,requestdispatcher,Java,Google App Engine,Servlets,Requestdispatcher,我试图使用包含方法的getRequestDispatcher在servlet中显示file.html文件,但它不起作用。有人能找出这背后的原因吗 当我使用file.jsp文件时,它(getRequestDispatcher)正在显示信息。为什么getRequestDispatcher函数不适用于*.html文件 有人能告诉我原因吗 谢谢你请给我们看看你试过的是什么

我试图使用包含方法的
getRequestDispatcher
在servlet中显示
file.html
文件,但它不起作用。有人能找出这背后的原因吗

当我使用
file.jsp
文件时,它(
getRequestDispatcher
)正在显示信息。为什么
getRequestDispatcher
函数不适用于
*.html
文件

有人能告诉我原因吗


谢谢你

请给我们看看你试过的是什么