Re: FreeMarker (IOException while writing to clientTemplate)

rizzz86 <[email protected]>
Newsgroups gmane.comp.web.freemarker.user
Message-ID <[email protected]>

Thanks for the response and the hint for Templates classpath.

I forgot to set cfg.setDirectoryForTemplateLoading(template) property. Now
it is working.

rizzz86


rizzz86 wrote:
> 
> Hi,
> 
> I am getting following error while executing my webapp using freemarker:
> 
> javax.servlet.ServletException: Error:IOException while writing to
> clientTemplate firstftl.ftl not found.
> 
> From the error it seems that the issue is related to the file path but I
> have tried all the possibilities to test the path issue but no results. I
> have placed my .ftl file outside the WEB-INF folder as well as inside the
> WEb-INF folder but the same error.
> 
> Does anyone has the idea of anything that can help me ?
> 
> rizzz86
> 
> 

-- 
View this message in context: http://www.nabble.com/FreeMarker-%28IOException-while-writing-to-clientTemplate%29-tp25661351p25675001.html
Sent from the freemarker-user mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
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.