tomcat和resin,jsp:include問題,急呀,大家救救我~~~~~~~~~~~~~~~~~~
a2.jsp
----------------------------------------------------------------------
[%@ page contentType="text/html; charset=gb2312" language="java"%]
[html]
[head]
[title][/title]
[meta http-equiv="Content-Type" content="text/html; charset=gb2312"]
[/head]
[body]
[jsp:include page="../temp.do"/]
a2
[/body]
[/html]
temp.java
----------------------------------------------------------------------
package web;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
import org.apache.struts.action.Action;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionForward;
import org.apache.struts.action.ActionMapping;
public class temp extends Action {
public ActionForward execute(ActionMapping actionMapping, ActionForm actionForm,HttpServletRequest request,javax.servlet.http.HttpServletResponse response) throws Exception {
return actionMapping.findForward("success");
}
}
struts-config.xml
-----------------------------------------------------------------------
[action path="/temp" type="web.temp" scope="request" validate="false"]
[forward name="success" path="/include/head.jsp" redirect="false"/]
[/action]
head.jsp
----------------------------------------------------------------------
[%@ page contentType="text/html; charset=gb2312" language="java" import="java.sql.*" errorPage="" %]
[html]
[head]
[title][/title]
[meta http-equiv="Content-Type" content="text/html; charset=gb2312"]
[/head]
[body]
head
[/body]
[/html]
========================================================================
執行時報錯:
2005-4-7 9:33:57 org.apache.jasper.runtime.PageContextImpl release
警告: Internal error flushing the buffer in release()
頁面顯示:
head
----
a2不顯示,也就是說,在[jsp:include]之後的內容不顯示,我懷疑是上面的錯誤導致,但單執行temp.do又沒錯,也不報錯.
而且resin都能顯示出a2,可能是糾錯能力強,55555,怎麼辦呀,錯誤是什麼問題.有什麼辦法解決...急死我了..
include 呼叫.do檔案就出錯....暈
相關文章
- 請教使用jsp:include的問題JS
- Linux下tomcat中include的問題LinuxTomcat
- 急盼救命,關於JSP的include問題JS
- 大家好!這個Resin的中文問題誰能解決?
- Tomcat和Resin中的FilterTomcatFilter
- Tomcat配置jsp亂碼問題TomcatJS
- jsp include directive, jsp:include action, jsp:plugin action compareJSPlugin
- jsp中include指令和include動作的區別JS
- 關於jsp拒絕訪問的問題,謝謝大家JS
- include jsp 中文亂碼JS
- PHP中require和include路徑問題總結PHPUI
- tomcat+jsp訪問mysqlTomcatJSMySql
- 關於JSP用include插入頁面出現亂碼問題,請教各位高手JS
- JSP問題JS
- PHP中include()的使用問題 (轉)PHP
- jsp 的問題JS
- 請問:myeclipse下面配置resin是出現的問題Eclipse
- include指令和include動作
- 大家來做linux除錯日誌 (tomcat jsp server 配置方法) (轉)Linux除錯TomcatJSServer
- JSP遇到的問題....JS
- jsp標籤相關問題;推薦大家一個霸氣的標籤fnJS
- 大家好啊,我剛買JSP的應用開發那本書,有點問題。JS
- Resin的中文問題最簡單的解決方法
- 關於mysql和jsp的中文問題~謝謝MySqlJS
- idea 訪問 jsp 404問題IdeaJS
- jsp的編碼問題JS
- JSP中文問題,急助!!!JS
- jsp中javabean的問題JSJavaBean
- jsp重新整理問題JS
- 求助servlet&jsp問題ServletJS
- jsp中的奇怪問題JS
- vegetable one(tomcat問題)Tomcat
- Tomcat 共享session問題TomcatSession
- tomcat埠占用問題Tomcat
- Tomcat https問題TomcatHTTP
- Tomcat下JSP、Servlet和JavaBean環境的配置TomcatJSServletJavaBean
- import、#include和@class有什麼區別 、相互引用標頭檔案問題Import
- python 使用 最大生成樹 解決 營救問題Python