Nevermind, I found the proper XML for the tiles-jsp jar. I'm curious as
to what exactly is in the plugin jar that you suggested, though. Is that
necessary to use Tiles 2 with Struts 2?

~Dan 

-----Original Message-----
From: Allen, Daniel 
Sent: Monday, February 11, 2008 2:53 PM
To: Struts Users Mailing List
Subject: RE: Basic setup question (tiles 2)

I replaced the dependency I had before with the dependency you gave, but
Maven's generated /lib directory still does not contain tiles-jsp.jar,
and the error message has not changed:


javax.servlet.ServletException: The absolute uri:
http://tiles.apache.org/tags-tiles cannot be resolved in either web.xml
or the jar files deployed with this application
        
org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:5
18)
        
org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher
.java:421)

org.apache.jasper.JasperException: The absolute uri:
http://tiles.apache.org/tags-tiles cannot be resolved in either web.xml
or the jar files deployed with this application
        
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServle
tWrapper.java:510)
        
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.ja
va:375)
        
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
        
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
        
org.apache.struts2.dispatcher.ServletDispatcherResult.doExecute(ServletD
ispatcherResult.java:139)
        
org.apache.struts2.dispatcher.StrutsResultSupport.execute(StrutsResultSu
pport.java:178)
        
com.opensymphony.xwork2.DefaultActionInvocation.executeResult(DefaultAct
ionInvocation.java:343)
.
.
.

Is that the correct URI? Is there some setup or XML file somewhere that
I need to edit before I can drop "<%@ taglib
uri="http://tiles.apache.org/tags-tiles"; prefix="tiles" %>" into my JSP
files and expect it to work?

~Dan Allen

-----Original Message-----
From: Lukasz Lenart [mailto:[EMAIL PROTECTED] 
Sent: Monday, February 11, 2008 2:41 PM
To: Struts Users Mailing List
Subject: Re: Basic setup question (tiles 2)

It is better to add dependency for Tiles plugin, it will download all
needed jars for you:

        <dependency>
            <groupId>org.apache.struts</groupId>
            <artifactId>struts2-tiles-plugin</artifactId>
            <version>2.0.9</version>
        </dependency>

Regards
-- 
Lukasz

http://www.linkedin.com/in/lukaszlenart

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-- 
This message may contain confidential, proprietary, or legally
privileged information. No confidentiality or privilege is waived by any
transmission to an unintended recipient. If you are not an intended
recipient, please notify the sender and delete this message immediately.
Any views expressed in this message are those of the sender, not those
of any entity within the KBC Financial Products group of companies
(together referred to as "KBC FP"). 

This message does not create any obligation, contractual or otherwise,
on the part of KBC FP. It is not an offer (or solicitation of an offer)
of, or a recommendation to buy or sell, any financial product. Any
prices or other values included in this message are indicative only, and
do not necessarily represent current market prices, prices at which KBC
FP would enter into a transaction, or prices at which similar
transactions may be carried on KBC FP's own books. The information
contained in this message is provided "as is", without representations
or warranties, express or implied, of any kind. Past performance is not
indicative of future returns.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-- 
This message may contain confidential, proprietary, or legally privileged 
information. No confidentiality or privilege is waived by any transmission to 
an unintended recipient. If you are not an intended recipient, please notify 
the sender and delete this message immediately. Any views expressed in this 
message are those of the sender, not those of any entity within the KBC 
Financial Products group of companies (together referred to as "KBC FP"). 

This message does not create any obligation, contractual or otherwise, on the 
part of KBC FP. It is not an offer (or solicitation of an offer) of, or a 
recommendation to buy or sell, any financial product. Any prices or other 
values included in this message are indicative only, and do not necessarily 
represent current market prices, prices at which KBC FP would enter into a 
transaction, or prices at which similar transactions may be carried on KBC FP's 
own books. The information contained in this message is provided "as is", 
without representations or warranties, express or implied, of any kind. Past 
performance is not indicative of future returns.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to