Using JspTaglibs outside servlet context

Albertas Mickenas <[email protected]>
Newsgroups gmane.comp.web.freemarker.user
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi all,


I'm trying to accomplish rather an exotic setup.

I'm programming portlets. I'm using Spring and Spring Webflow for that.
I'm using freemarker with portlet tld.

What i'm trying to do is to create Unit tests for my Webflow states in
every state i want to check if the template compiles OK.

To do that i get freemarker configurer from Spring context:

freemarkerConfig = (FreeMarkerConfigurer)
context.getBean("freemarkerConfig");

then i get the template, set view name and model to it and try to
process it.

The problem is with JspTaglib - freemarker does not seem to find it. As
far as i dug into freemarker sources, i see JspTaglibFactory created and
used only in FreemarkerServlet.

The question is - can i use JspTaglibs outside servlet context?
- --


albertas.
- ---------------
sistemu analitikas
UAB MegaLogika, www.megalogika.lt, tel. +37052611428
man patinka aktyvi protoplazma,
bet man patinka ir pasyvi protoplazma
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHXlUiJ2lgtwRRHqERAmO2AJ97EkXuW86SFGzMfP7Kf8lSWEjrKACfWni9
kuYG06HEcocJZRE0/X0HLNU=
=bdbG
-----END PGP SIGNATURE-----

-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
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.