struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Amanpreet Singh <Amanpreet.Si...@india.Infogain.com>
Subject TIles Problem
Date Tue, 13 Apr 2004 04:35:39 GMT
All,

I am new to Tiles and getting this error after setup of the framework with
tileDEfinitions.
Can some body help me out?

Thanks
Amanpreet

ERROR

HTTP Status 500 - 

----------------------------------------------------------------------------
----

type Exception report

message 

description The server encountered an internal error () that prevented it
from fulfilling this request.

exception 

javax.servlet.ServletException: Servlet.init() for servlet jsp threw
exception
	
org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:10
69)
	
org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProcesso
r.java:274)
	
org.apache.struts.tiles.TilesRequestProcessor.processTilesDefinition(TilesRe
questProcessor.java:254)
	
org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequ
estProcessor.java:309)
	
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:279)
	
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
	org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:856)


root cause 

java.lang.NoClassDefFoundError
	org.apache.jasper.servlet.JspServlet.init(JspServlet.java:126)
	
org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:10
69)
	
org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProcesso
r.java:274)
	
org.apache.struts.tiles.TilesRequestProcessor.processTilesDefinition(TilesRe
questProcessor.java:254)
	
org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequ
estProcessor.java:309)
	
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:279)
	
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
	org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:856)


note The full stack trace of the root cause is available in the Tomcat
logs.====
==================================================
TIle definitions

<!DOCTYPE tiles-definitions PUBLIC
"-//Apache Software Foundation//DTD Tiles Configuration//EN"
"http://jakarta.apache.org/struts/dtds/tiles-config.dtd">
<!-- Tiles definitions -->
<tiles-definitions>
<definition name="home" path="/jsp/home/Body.jsp" >
     <put name="pageHeader" value="/jsp/common/navigation/emptyHeader.jsp"
/>
     <put name="body" value="/jsp/home/homeBody.jsp"/>
</definition>
</tiles-definitions>
=============================

STRUTS CONFIG


<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD Struts
Configuration 1.1//EN"
"http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd">
<struts-config>
  <action-mappings>
     <action path="/home"
             type="com.circuitcity.ecomm.wsa.action.home.HomePageAction">
       <forward name="success" path="home"/>
     </action>
  </action-mappings>

  <plug-in className="org.apache.struts.tiles.TilesPlugin">
    <set-property value="/WEB-INF/tileDefinitions.xml"
property="definitions-config" />
    <set-property value="true" property="module-aware" />
    </plug-in>
</struts-config>

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


Mime
View raw message