在jsp中使用iframe,iframe部分显示出来的是出错代码,无法正确显示
我在jsp页面中使用iframe嵌入一个页面<divclass="right"><iframesrc="Web/right.jsp"height="740px"width...
我在jsp页面中使用iframe嵌入一个页面
<div class="right">
<iframe src="Web/right.jsp" height="740px" width="355px" scrolling="no" frameborder="0" marginheight="0" marginwidth="0"></iframe>
</div>
在我的tomcat服务器中显示没问题,都可以正常显示,但是发布到网上就是iframe里面的页面无法正常显示
显示如下代码:
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: java.lang.NullPointerException
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:522)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:416)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
root cause
java.lang.NullPointerException
ystour.search.Search.getWay(Search.java:41)
org.apache.jsp.Web.right_jsp._jspService(right_jsp.java:154)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
note The full stack trace of the root cause is available in the Apache Tomcat/6.0.18 logs.
这是什么问题呢??怎么样解决!!请高手指教 展开
<div class="right">
<iframe src="Web/right.jsp" height="740px" width="355px" scrolling="no" frameborder="0" marginheight="0" marginwidth="0"></iframe>
</div>
在我的tomcat服务器中显示没问题,都可以正常显示,但是发布到网上就是iframe里面的页面无法正常显示
显示如下代码:
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: java.lang.NullPointerException
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:522)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:416)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
root cause
java.lang.NullPointerException
ystour.search.Search.getWay(Search.java:41)
org.apache.jsp.Web.right_jsp._jspService(right_jsp.java:154)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
note The full stack trace of the root cause is available in the Apache Tomcat/6.0.18 logs.
这是什么问题呢??怎么样解决!!请高手指教 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询