Re: error with if condition

far4ever <[email protected]>
Newsgroups gmane.comp.web.freemarker.user
Message-ID <[email protected]>
THnaks a lot.
as you mentioned it was because i accessed the .ftl file directly.
and when i used the MVC to access it worked fine.

If the output indeed contains ${...} stuff, then the templates are not
processed by FreeMarker at all, but are served like static files. That
means, there is something wrong with the your HTTP server or
Servelet-related setup. What URL do you enter into the browser? You
shouldn't ever visit .ftl-s directly, as they need something that
prepares the data-model, this being an MVC template engine. If you are
using JSP-Model-2-like setup, please see:
http://freemarker.org/docs/pgui_misc_servlet.html

> thanks in advance.

-- 
Best regards,
 Daniel Dekany



------------------------------------------------------------------------------
_______________________________________________
FreeMarker-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freemarker-user



-- 
View this message in context: http://www.nabble.com/error-with-if-condition-tp24218684p24250256.html
Sent from the freemarker-user mailing list archive at Nabble.com.


------------------------------------------------------------------------------
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.