struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amit Godbole (RBIN/DBA-JOT) *" <Amit.Godb...@in.bosch.com>
Subject Template problem
Date Thu, 21 Nov 2002 06:34:15 GMT
Hello All,

I am using template taglib for my screens. (Using Struts 1.0.2)
When i put the content as jsp page then it works file.
But when i put the ActionMapping in the content(/do/navigation), then it
goes for a toss & throws the ServletException.

Does any one know what is the reason & how to overcome it ?

Thanks in advance
Amit

Sample Code :

<%@ page language="java" %>
<%@ taglib uri='/WEB-INF/lib/struts-template.tld' prefix='template' %>

<template:insert template='/template.jsp'>
  <template:put name='logo' content='/Logo.html' direct="true"/>
  <template:put name='navigation' content='/do/navigation' direct="false" />
  <template:put name='querydesc' content='/QueryDesc.html' direct="true"/>
  <template:put name='querytitle' content='/QueryTitle.html' direct="true"
/>
  <template:put name='queryform' content='/Query.html' direct="true"/>
</template:insert>

Exception thrown is :
Error Location: /ProvisorTest/do/navigation
Internal Servlet Error:
javax.servlet.ServletException: Servlet Exception
	at
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImp
l.java:459)
	at
_0002fprovisor_00031_0002ejspprovisor1_jsp_3._jspService(_0002fprovisor_0003
1_0002ejspprovisor1_jsp_3.java:270)
	at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja
va:177)
	at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:318)
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:391)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at
org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)
	at org.apache.tomcat.core.Handler.service(Handler.java:286)
	at
org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
	at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:79
7)
	at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
	at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
onnectionHandler.java:210)
	at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
	at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
	at java.lang.Thread.run(Thread.java:484)


--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message