tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "itay sahar" <itay.sa...@gmail.com>
Subject Re: tiles 2 JSF integration in tomcat 5.5.25
Date Fri, 16 Nov 2007 01:01:09 GMT
i do have, thanks

On 11/16/07, Martin Gainty <mgainty@hotmail.com> wrote:
>
> make sure you have $CATALINA_HOME/common/lib/jsp-api.jar
>
> M--
> ----- Original Message -----
> From: "itay sahar" <itay.sahar@gmail.com>
> To: "Tomcat Users List" <users@tomcat.apache.org>
> Sent: Thursday, November 15, 2007 7:12 PM
> Subject: tiles 2 JSF integration in tomcat 5.5.25
>
>
> > hi,
> > i'm trying to forward from index.jsp:
> > <jsp:forward page="main.jsf"/>
> >
> > to main.jsp:
> >
> >
> > <%@ taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles" %>
> >
> > <tiles:insertDefinition name=".mainLayout">
> >
> > <tiles:putAttribute name="title" value="Main Page"/>
> >
> > <tiles:putAttribute name="body" value="/tiles/main.jsp"/>
> >
> > </tiles:insertDefinition>
> > this is part of tiles.xml:
> >
> >
> > <!DOCTYPE tiles-definitions PUBLIC
> >
> > "-//Apache Software Foundation//DTD Tiles Configuration 2.0//EN"
> >
> > "http://tiles.apache.org/dtds/tiles-config_2_0.dtd">
> >
> > <tiles-definitions>
> >
> > <definition name=".mainLayout" template="/layout.jsp">
> >
> > <put-attribute name="header" value="/tiles/header.jsp"/>
> >
> > part of web.xml:
> >
> > <web-app xmlns="http://java.sun.com/xml/ns/j2ee"
> >
> > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> >
> > xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
> > http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
> >
> > version="2.4">
> >
> > <context-param>
> >
> > <param-name>org.apache.tiles.CONTEXT_FACTORY</param-name>
> >
> > <param-value>org.apache.tiles.context.enhanced.EnhancedContextFactory</
> > param-value>
> >
> > </context-param>
> >
> >
> >
> > <servlet>
> >
> > <servlet-name>Tiles Servlet</servlet-name>
> >
> > <servlet-class>org.apache.tiles.web.startup.TilesServlet</servlet-class>
> >
> > <init-param>
> >
> > <param-name>definitions-config</param-name>
> >
> >
> <param-value>/WEB-INF/tiles-defs.xml,/org/apache/tiles/classpath-defs.xml
> </
> > param-value>
> >
> > </init-param>
> >
> > <load-on-startup>2</load-on-startup>
> >
> > </servlet>
> >
> > <listener>
> >
> >
> <listener-class>org.apache.tiles.web.startup.TilesListener
> </listener-class>
> >
> > </listener>
> >
> >
> >
> > The excpetion is:
> >
> > java.lang.NoSuchMethodError: javax.servlet.jsp.tagext.TagAttributeInfo
> > .<init>(Ljava/lang/String;ZLjava/lang/String;ZZ)V
> >         at org.apache.jasper.compiler.TagLibraryInfoImpl.createAttribute
> (
> > TagLibraryInfoImpl.java:581)
> >
> >
> >
> > jar included:
> >
> >  aopalliance.jar
> >  cglib-2.0-rc2.jar
> >  commons-beanutils.jar
> >  commons-collections-2.1.jar
> >  commons-dbcp-1.1.jar
> >  commons-digester.jar
> >  commons-fileupload-1.0.jar
> >  commons-logging.jar
> >  commons-pool-1.1.jar
> >  dom4j-1.4.jar
> >  hibernate2.jar
> >  jsf-api.jar
> >  jsf-impl.jar
> >  jstl-1.1.0.jar
> >  jta.jar
> >  log4j.jar
> >  mysql-connector-java-3.0.9-stable-bin.jar
> >  odmg-3.0.jar
> >  spring.jar
> >  standard.jar
> >  tiles-api-2.0.5.jar
> >  tiles-core-2.0.5.jar
> >  tiles-jsp-2.0.5.jar
> >
> > this is an advance topic. any idea will be welcome!
> >
>
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message