You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Nikolaus Rumm <ni...@mail.kephera.com> on 2001/05/01 14:28:40 UTC
jsp:include and actions
Hello,
I am including several jsp-pages and an action (resulting in a forward)
using jsp:include. Everything works fine for the jsps, but the inclusion of
the action-url does not work.
<jsp:include page="../participant/logon.jsp" flush="true" />
<jsp:include page="/html/meeting/showMeetingList.do" flush="true" />
<jsp:include page="../index/copyright.htm" flush="true" />
If I call the action url (/html/meeting/showMeetingList.do) directly,
everything works. I've tried all thinkable path combinations without any
positive result.
What I get is:
Location: /scivent/html/index/index.jsp
Error Location: /scivent/html/meeting/showMeetingList.do
Internal Servlet Error:
javax.servlet.ServletException: Servlet Exception
java.lang.Throwable(java.lang.String)
java.lang.Exception(java.lang.String)
javax.servlet.ServletException(java.lang.Throwable)
void
org.apache.jasper.runtime.PageContextImpl.handlePageException(java.lang.Exce
ption)
void
html.index._0002fhtml_0002findex_0002findex_0002ejspindex_jsp_0._jspService(
javax.servlet.http.HttpServletRequest,
javax.servlet.http.HttpServletResponse)
void
org.apache.jasper.runtime.HttpJspBase.service(javax.servlet.http.HttpServlet
Request, javax.servlet.http.HttpServletResponse)
void javax.servlet.http.HttpServlet.service(javax.servlet.ServletRequest,
javax.servlet.ServletResponse)
void org.apache.jasper.servlet.JspServlet$JspServletWrapper.service
...snip....
Root cause:
javax.servlet.jsp.JspException: Servlet Exception
java.lang.Throwable(java.lang.String)
java.lang.Exception(java.lang.String)
javax.servlet.jsp.JspException(java.lang.String)
int org.apache.struts.taglib.template.InsertTag.doEndTag()
void
html.index._0002fhtml_0002findex_0002findex_0002ejspindex_jsp_0._jspService(
javax.servlet.http.HttpServletRequest,
javax.servlet.http.HttpServletResponse)
void
org.apache.jasper.runtime.HttpJspBase.service(javax.servlet.http.HttpServlet
Request, javax.servlet.http.HttpServletResponse)
void javax.servlet.http.HttpServlet.service(javax.servlet.ServletRequest,
javax.servlet.ServletResponse)
...snip....
Any suggestions ?
Nikolaus