struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dimitris Mouchritsas <dimitris.mouchrit...@eurodyn.com>
Subject Re: Closing tag for html:hidden
Date Tue, 24 Jun 2008 09:53:33 GMT
Antonio Petrelli wrote:
> 2008/6/24 Dimitris Mouchritsas <dimitris.mouchritsas@eurodyn.com>:
>   
>> I get a 500 Internal server error when trying to access the home page.
>>     
>
> Can I see the stack trace?
>
> Antonio
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>   
Hm, I think we're getting close. A colleague helped me. We had an 
ErrorHandlerServlet which was
"eating" the exception. Now I get a meaningful 500:


  500 Internal Server Error

OracleJSP: oracle.jsp.parse.JspParseException: 
/WEB-INF/jsp/common/layout.jsp: Line # 2, <%@ taglib 
uri="http://struts.apache.org/tags-tiles" prefix="t" %>
Error: Unable to load taghandler class: http://struts.apache.org/tags-tiles

Take a look at my changed layout.jsp:

<%@ page contentType="text/html;charset=utf-8"%>
<%@ taglib uri="http://struts.apache.org/tags-tiles" prefix="tiles" %>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html"%>
<tiles:useAttribute name="title" />

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
.....

But why can't it find the tiles uri? I've included the 
struts-tiles-1.3.8.jar.

Dimitris

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


Mime
View raw message