Re: How can I convert .jsp to .ftl (freemarker)?

2017-06-23 Thread ssmtpmailtesting ssmtpmailtesting
esting >> >> > To: Struts Users Mailing List , >> >> > lukaszlen...@apache.org, >> >> > Date: 23.06.2017 14:54 >> >> > Subject: Re: How can I convert .jsp to .ftl (freemarker)? >> >> > >> >> > I tried this: >> &

Re: How can I convert .jsp to .ftl (freemarker)?

2017-06-23 Thread Lukasz Lenart
iu pt., 23.06.2017 o 16:45 Christoph Nenning < > > christoph.nenn...@lex-com.net> napisał(a): > > > >> > From: ssmtpmailtesting ssmtpmailtesting > >> > To: Struts Users Mailing List , > >> > lukaszlen...@apache.org, > >> > Date: 23.06.

Re: How can I convert .jsp to .ftl (freemarker)?

2017-06-23 Thread ssmtpmailtesting ssmtpmailtesting
> > To: Struts Users Mailing List , >> > lukaszlen...@apache.org, >> > Date: 23.06.2017 14:54 >> > Subject: Re: How can I convert .jsp to .ftl (freemarker)? >> > >> > I tried this: >> > >> > >> > >> > &g

Re: How can I convert .jsp to .ftl (freemarker)?

2017-06-23 Thread Lukasz Lenart
Did you change a result type? W dniu pt., 23.06.2017 o 16:45 Christoph Nenning < christoph.nenn...@lex-com.net> napisał(a): > > From: ssmtpmailtesting ssmtpmailtesting > > To: Struts Users Mailing List , > > lukaszlen...@apache.org, > > Date: 23.06.2017 14:54 >

Re: How can I convert .jsp to .ftl (freemarker)?

2017-06-23 Thread Christoph Nenning
> From: ssmtpmailtesting ssmtpmailtesting > To: Struts Users Mailing List , > lukaszlen...@apache.org, > Date: 23.06.2017 14:54 > Subject: Re: How can I convert .jsp to .ftl (freemarker)? > > I tried this: > > > > > Login Form > > > S

Re: How can I convert .jsp to .ftl (freemarker)?

2017-06-23 Thread ssmtpmailtesting ssmtpmailtesting
I tried this: Login Form Struts 2 Hello World Example <@s.form action="Welcome" method="post"> <@s.textfield name="username" label="Username" /> <@s.textfield name="description" label="Description" /> <@s.password name="password" label="Password" />

Re: How can I convert .jsp to .ftl (freemarker)?

2017-06-23 Thread Lukasz Lenart
2017-06-23 13:19 GMT+02:00 Christoph Nenning : > One thing that catches my eye: in freemarker you have to replace colons > with dots: > > <@s.form action="Welcome" method="post"> Exactly, that's a case https://struts.apache.org/docs/freemarker-tags.html Regards -- Łukasz + 48 606 323 122 http:/

Re: How can I convert .jsp to .ftl (freemarker)?

2017-06-23 Thread Christoph Nenning
> From: ssmtpmailtesting ssmtpmailtesting > To: user@struts.apache.org, > Date: 23.06.2017 10:12 > Subject: How can I convert .jsp to .ftl (freemarker)? > > login.jsp = > > <%@ taglib prefix="s" uri="/struts-tags"%> > <%@ page contentTyp

How can I convert .jsp to .ftl (freemarker)?

2017-06-23 Thread ssmtpmailtesting ssmtpmailtesting
login.jsp = <%@ taglib prefix="s" uri="/struts-tags"%> <%@ page contentType="text/html; charset=UTF-8"%> Login Form Struts 2 Hello World Example I tried this: login.ftl = <#assign s=JspTaglibs["struts-tags.tld"] /> Login Form