using jsptaglibs to include content from another web application

Deepa <[email protected]>
Newsgroups gmane.comp.web.freemarker.user
Message-ID <[email protected]>
Hi,
I have spent a few days trying to figure out a solution to this and would really
appreciate some pointers to what I might be doing wrong.

In my freemarker template, I need to include the content from another web
application using jstl jsp tag library. 

Within a jsp, I have been able to make this work by using 

      <%@ taglib prefix='c' uri='http://java.sun.com/jstl/core_rt' %>
      <c:import url="<%=url%>" context="/public"/>

In my ftl, I tried the following 

<#assign c=JspTaglibs["http://java.sun.com/jstl/core_rt"]>
<@c.import url="someurl">

and included the following in my web.xml 
 <listener>
  <listener-class>freemarker.ext.jsp.EventForwarding</listener-class>
</listener>

but it isn't working and it seems that by including that listener my web
application fails to deploy on tomcat and I don't see any errors in the logs.

Has anyone been able to get this to work. Can you see anything obvious that I
might be doing wrong or something I should have included and haven't. 

I would really appreciate any help on this. I have some files that are in a
different web application and would like to be able to include the contents in
my current web application.


I am using Spring 3.0.3.RELEASE with freemarker 2.3.16 and tomcat 6.0.26

Any pointers on this would be greatly appreciated.

Thanks,
Deepa.





------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share 
of $1 Million in cash or HP Products. Visit us here for more details:
http://ad.doubleclick.net/clk;226879339;13503038;l?
http://clk.atdmt.com/CRS/go/247765532/direct/01/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.